From b5effceea0ca79f0beea65a1f2a76d8348111b9c Mon Sep 17 00:00:00 2001 From: Shamli <148671000+Shamli-Singh-Yadav@users.noreply.github.com> Date: Mon, 6 Oct 2025 19:18:57 +0530 Subject: [PATCH 01/15] Update style.css --- Travelling Website/style.css | 82 ++++++++++++++++++++++++++---------- 1 file changed, 60 insertions(+), 22 deletions(-) diff --git a/Travelling Website/style.css b/Travelling Website/style.css index afbc9dad..c13742a0 100644 --- a/Travelling Website/style.css +++ b/Travelling Website/style.css @@ -316,23 +316,29 @@ body{ } -.page3{ - margin-top: 20px; - width: 100vw; - height: 60vh; - - + + +.page3 { + margin-top: 60px; /* Adds space from previous section */ + width: 100vw; + min-height: 70vh; /* Use min-height, not fixed height */ + background-color: #fff; /* Helps separate visually */ + padding: 40px 0; /* Add breathing space inside */ +} + +.page3 .heading h1 { + font-size: 2rem; + text-align: center; + margin-bottom: 30px; /* Adds space below heading */ + color: #123C69; +} + } .page3 .hotels:hover{ box-shadow: 0 2px 10px black; } -/* @keyframes typing{ - from {width: 0} - to {width: 100%} -} */ + .page3 .heading{ - - /* overflow: hidden; */ /* width: 0; */ /* white-space: nowrap; */ @@ -346,19 +352,46 @@ body{ height: 300px; } -.listhotels{ - margin-top: 40px; - display: flex; - justify-content: space-evenly; +.listhotels { + display: flex; + justify-content: center; + align-items: flex-start; + flex-wrap: wrap; /* Allows wrapping on small screens */ + gap: 40px; /* Space between cards */ + margin-top: 20px; } -.type{ - border: 2px solid rgb(221, 213, 213);; - padding: 10px; - transform: translateY(-2px); - border-bottom: 2px solid #123C69; + +.hotels { + width: 280px; + background-color: #f9f9f9; + border-radius: 12px; + box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); + overflow: hidden; + transition: transform 0.3s ease, box-shadow 0.3s ease; + text-align: center; +} + +.hotels img { + width: 100%; + height: 220px; + object-fit: cover; +} + +.hotels:hover { + transform: translateY(-5px); + box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); +} + +.type { + padding: 15px; + font-size: 1.1rem; + color: #123C69; + border: none; + background-color: #fff; } + .page4{ height: 27vh; width: 100vw; @@ -403,4 +436,9 @@ body{ background-image: linear-gradient(to bottom right, #123C69,#EDC7B7); backdrop-filter: brightness(10px); -webkit-backdrop-filter: brightness(10px); -} \ No newline at end of file +} + +section { + scroll-margin-top: 60px; + padding-top: 40px; +} From ecfca351db51b38111e2116b7ecf8c987c238e45 Mon Sep 17 00:00:00 2001 From: Shamli <148671000+Shamli-Singh-Yadav@users.noreply.github.com> Date: Tue, 7 Oct 2025 07:22:02 +0530 Subject: [PATCH 02/15] Update style.css --- Travelling Website/style.css | 629 ++++++++++++++++------------------- 1 file changed, 290 insertions(+), 339 deletions(-) diff --git a/Travelling Website/style.css b/Travelling Website/style.css index c13742a0..4ad58dc1 100644 --- a/Travelling Website/style.css +++ b/Travelling Website/style.css @@ -1,363 +1,307 @@ -*{ - margin: 0; - padding: 0; - box-sizing: border-box; - font-family: 'Mooli', sans-serif; - font-weight: bolder; -} -body{ - background-color: white; -} - - -.header{ - height: 80vh; - width: 100vw; -} -.page1{ - margin: auto; - height: 100vh; - width: 100vw; - -} -.navbar{ - display: flex; - justify-content: space-evenly; -} -.navbarleft{ - width: 100vw; - height: 8vh; - background-color: #EDC7B7; - box-shadow: 0px 2px 50px black; - display: flex; - - padding: 5px 5px; - - align-items: center; - -} -.navbarleft ul{ - display: flex; - flex-direction: row; - padding: 20px; - justify-content: space-around; - align-items: center; -} -.navbarleft ul li{ - padding: 0px 10px; - list-style: none; -} -.navbarleft ul li a{ - text-decoration: none; - display: inline-block; - font-size: 15px; - color: #123C69; -} -.navbarleft a:hover{ - text-shadow: 0px 0px 0.25px #123C69; -} -.navbar2{ - width: 100vw; - height: 7vh; - background-color: #123C69; - align-items: center; - justify-content: center; - display: flex; - padding: 10px; - -} -.navbar2 h1{ - color: #EDC7B7; - font-size: 28px; - font-weight: 100; -} - -.heroimg{ - width: 100vw; - height: 60vh; - justify-content: center; - align-items: center; - background-image: url('Screenshot\ 2023-09-30\ 163012.png'); - background-size: cover; - background-position: center; - background-attachment: fixed; - align-items: center; - justify-content: center; - background-repeat: no-repeat; -} -.bookingpage{ - align-items: center; - justify-content: center; - display: flex; - flex-direction: column; - padding: 30px; - -} - - - - - - - -.bookingpagelow{ - height: 40vh; - width: 40vw; - background-color: #F7F8F9; - border-radius: 20px; - align-items: center; - justify-content: center; - box-shadow: 0px 2px 10px black; - padding: 20px 20px; - -} -#input{ - width: 36vw; - height: 60px; - border: 0px ; - border-radius: 5px; - padding: 30px; - margin-bottom: 10px; - margin-top: 25px; -} -.bookingpagetop{ - height: 4vh; - width: 30vw; - background-color: white; - margin-top: 40px; - border-radius: 10px; - box-shadow: 0px 2px 10px black; - z-index: 100; - justify-content: center; - text-align: center; - padding: 7px; - transform: translateY(2vh); -} -.departure i{ - margin-left: 15px; - cursor: pointer; -} -#input1{ - width: 34vw; - height: 55px; - border: 0px ; - - cursor: pointer; - -} -.departure{ - margin-top: 30px; - margin-bottom: 10px; - background-color: white; - justify-content: space-between; - align-items: center; - border-radius: 5px; - border: 2px solid rgb(221, 213, 213); - height: 60px; - display: flex; -} - -.departure2{ - margin-top: 20px; - margin-bottom: 10px; - background-color: white; - justify-content: space-between; - align-items: center; - border-radius: 5px; - border: 0px; - height: 60px; -} -.bookingpagetop h1{ - color: #123C69; - font-weight: 400; - text-shadow: 0px 5px 10px #EDC7B7; - font-size: 20px; - letter-spacing: 2px; -} -.account{ - border: 2px solid #123C69; - border-radius: 5px; - padding: 10px; - transition: 0.5s; -} -.account:hover{ - background-color: #123C69; - color: white; +* { + margin: 0; + padding: 0; + box-sizing: border-box; + font-family: 'Mooli', sans-serif; + font-weight: bolder; } +body { + background-color: white; +} -.signin{ - border: 2px solid ; - padding: 10px; - border-radius: 5px; - transition: 0.5s; +/* ================= HEADER ================= */ +.header { + width: 100vw; + height: auto; } -.signin:hover{ - background-color: #123C69; - color: white; +.page1 { + width: 100%; + height: 100vh; + position: relative; } -.rightitems{ - margin-left: 400px; -} - -.arr_date{ - padding: 10px; - width: 12.5vw; - height: 60px; - background-color: white; - border: 2px solid rgb(221, 213, 213); - margin-top: 10px; - display: flex; - flex-direction: column; - border-radius: 5px; + +/* ---------------- NAVBAR ---------------- */ +.navbar { + display: flex; + justify-content: space-evenly; } -.search{ - z-index: 100; - background-color: #123C69; - transform: translateY(-4vh); - text-align: center; - width: 20vw; - height: 8vh; - border-radius: 20px; - color: #EDC7B7; - display: flex; - justify-content: center; - align-items: center; - position: relative; - font-size: 20px; - letter-spacing: 2px; - font-weight: 500; +.navbarleft { + width: 100%; + height: 8vh; + background-color: #EDC7B7; + box-shadow: 0px 2px 50px rgba(0, 0, 0, 0.3); + display: flex; + align-items: center; + padding: 5px; + position: relative; + z-index: 10; } +.navbarleft ul { + display: flex; + flex-direction: row; + padding: 20px; + justify-content: space-around; + align-items: center; +} +.navbarleft ul li { + padding: 0 10px; + list-style: none; +} +.navbarleft ul li a { + text-decoration: none; + font-size: 15px; + color: #123C69; + transition: 0.3s; +} +.navbarleft a:hover { + text-shadow: 0px 0px 0.5px #123C69; +} -.search :hover{ - animation: fill 2s; - cursor: pointer; +.rightitems { + margin-left: auto; + margin-right: 30px; } -@keyframes fill{ - 0% {width: 0%; background-color:#123C69;} - - 100% {width: 100%; background-color: #123C69;} +.signin, +.account { + border: 2px solid #123C69; + padding: 8px 12px; + border-radius: 5px; + margin-left: 10px; + transition: 0.3s ease; } +.signin:hover, +.account:hover { + background-color: #123C69; + color: white; +} +/* ---------------- SLOGAN BAR ---------------- */ +.navbar2 { + width: 100%; + min-height: 8vh; + background-color: #123C69; + display: flex; + align-items: center; + justify-content: center; + padding: 10px; + position: relative; + z-index: 5; +} +.navbar2 h1 { + color: #EDC7B7; + font-size: 26px; + font-weight: 500; + letter-spacing: 1px; +} +/* ---------------- HERO IMAGE + BOOKING ---------------- */ +.heroimg { + width: 100%; + height: 70vh; + background-image: url('Screenshot 2023-09-30 163012.png'); + background-size: cover; + background-position: center; + background-repeat: no-repeat; + display: flex; + justify-content: center; + align-items: center; + position: relative; +} +.bookingpage { + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; + margin-top: -50px; +} +.bookingpagetop { + background-color: #fff; + padding: 12px 30px; + border-radius: 15px; + box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2); + text-align: center; + transform: translateY(20px); +} +.bookingpagetop h1 { + color: #123C69; + font-weight: 600; + font-size: 22px; + letter-spacing: 1px; + text-shadow: none; +} + +.bookingpagelow { + width: 420px; + background-color: #F7F8F9; + border-radius: 15px; + box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); + padding: 25px; + margin-top: 25px; + display: flex; + flex-direction: column; + align-items: center; +} -.page2{ - height: 40vh; - width: 100vw; - background-color: #EDC7B7; +.departure { + margin-top: 20px; + background-color: white; + justify-content: space-between; + align-items: center; + border-radius: 5px; + border: 2px solid rgb(221, 213, 213); + height: 60px; + display: flex; + width: 100%; } -.page2 .heading{ - - text-align: center; - font-size: 20px; - display: flex; - flex-direction: column; + +.departure i { + margin-left: 15px; + cursor: pointer; } +#input1 { + width: 90%; + height: 55px; + border: none; + outline: none; + cursor: pointer; + padding-left: 10px; + font-size: 15px; +} -.page2 img{ - max-width: 200px; - height: 200px; - justify-content: space-between; - align-items: center; - gap: 20px; - border-radius: 100px; - +.datedecider { + width: 100%; + display: flex; + justify-content: space-between; + margin-top: 15px; +} + +.arr_date { + flex: 1; + padding: 10px; + height: 60px; + background-color: white; + border: 2px solid rgb(221, 213, 213); + border-radius: 5px; + margin: 0 5px; + display: flex; + flex-direction: column; + justify-content: center; + text-align: center; + font-size: 14px; } -.places{ - margin: auto; - margin-top: 50px; - justify-content: space-evenly; - align-items: center; - display: flex; + +.arr_date:hover { + cursor: pointer; + background-color: #f4f4f4; } -.delhi{ - text-align: center; - justify-content: center; - display: flex; - flex-direction: column; + +.day { + color: rgb(150, 150, 150); + font-size: 12px; } -.page2 img:hover{ - box-shadow: 0 2px 10px black; - + +.search { + background-color: #123C69; + text-align: center; + width: 200px; + height: 50px; + border-radius: 25px; + color: #EDC7B7; + display: flex; + justify-content: center; + align-items: center; + font-size: 18px; + letter-spacing: 1px; + font-weight: 500; + margin-top: 20px; + transition: all 0.3s ease; } -.delhi h4{ - margin-top: 10px; + +.search:hover { + background-color: #0e2f52; + cursor: pointer; + transform: translateY(-3px); } -.datedecider{ - width: 37.5vw; - display: flex; - justify-content: space-evenly; - - +/* ================= PAGE 2: TOP DESTINATIONS ================= */ +.page2 { + width: 100%; + background-color: #EDC7B7; + padding: 60px 0; + text-align: center; } -.day{ - color: rgb(221, 213, 213); +.page2 .heading h1 { + font-size: 2rem; + color: #123C69; } -.arr_date:hover{ - cursor: pointer; + +.places { + margin-top: 40px; + display: flex; + flex-wrap: wrap; + justify-content: center; + align-items: center; + gap: 40px; } -.departure:hover{ - cursor: pointer; + +.page2 img { + width: 180px; + height: 180px; + border-radius: 50%; + object-fit: cover; + transition: all 0.3s ease; } +.page2 img:hover { + box-shadow: 0 4px 10px black; + transform: scale(1.05); +} +.delhi { + text-align: center; +} +.delhi h4 { + margin-top: 10px; + color: #123C69; +} +/* ================= PAGE 3: RENTAL PROPERTIES ================= */ .page3 { - margin-top: 60px; /* Adds space from previous section */ - width: 100vw; - min-height: 70vh; /* Use min-height, not fixed height */ - background-color: #fff; /* Helps separate visually */ - padding: 40px 0; /* Add breathing space inside */ + margin-top: 80px; + width: 100%; + background-color: #fff; + padding: 60px 0; + text-align: center; } .page3 .heading h1 { font-size: 2rem; - text-align: center; - margin-bottom: 30px; /* Adds space below heading */ color: #123C69; -} - -} -.page3 .hotels:hover{ - box-shadow: 0 2px 10px black; -} - -.page3 .heading{ - /* overflow: hidden; */ - /* width: 0; */ - /* white-space: nowrap; */ - /* animation: typing 10s forwards; */ - text-align: center; + margin-bottom: 30px; } - -.page3 .hotels img{ - width: 300px; - height: 300px; - -} .listhotels { display: flex; justify-content: center; align-items: flex-start; - flex-wrap: wrap; /* Allows wrapping on small screens */ - gap: 40px; /* Space between cards */ + flex-wrap: wrap; + gap: 40px; margin-top: 20px; } @@ -386,58 +330,65 @@ body{ padding: 15px; font-size: 1.1rem; color: #123C69; - border: none; background-color: #fff; + border-top: 1px solid #eee; } - - -.page4{ - height: 27vh; - width: 100vw; - background-color: rgb(233, 235, 238); +/* ================= PAGE 4: FOOTER LINKS ================= */ +.page4 { + width: 100%; + background-color: rgb(233, 235, 238); + padding: 40px 0; } -.links{ - display: flex; - justify-content: space-evenly; - +.links { + display: flex; + justify-content: space-evenly; + flex-wrap: wrap; } -.links ul{ - margin-top: 30px; +.links ul { + margin-top: 20px; + list-style: none; } -.links ul li{ - list-style: none; -} -.links ul li h4{ - margin-bottom: 10px; +.links ul li { + margin-bottom: 8px; } -.links ul li a{ - text-decoration: none; - font-size: 15px; - color: rgb(42, 42, 46); - font-weight: 300; +.links ul li h4 { + margin-bottom: 10px; + color: #123C69; } +.links ul li a { + text-decoration: none; + font-size: 15px; + color: rgb(42, 42, 46); + font-weight: 400; + transition: 0.3s; +} +.links ul li a:hover { + color: #123C69; + text-decoration: underline; +} -.page5{ - width: 100vw; - height: 20vh; - text-align: center; - display: flex; - align-items: center; - justify-content: center; - font-weight: 300; - font-size: 18px; - background-image: linear-gradient(to bottom right, #123C69,#EDC7B7); - backdrop-filter: brightness(10px); - -webkit-backdrop-filter: brightness(10px); +/* ================= PAGE 5: FOOTER COPYRIGHT ================= */ +.page5 { + width: 100%; + height: 15vh; + text-align: center; + display: flex; + align-items: center; + justify-content: center; + font-weight: 400; + font-size: 18px; + background-image: linear-gradient(to bottom right, #123C69, #EDC7B7); + color: white; } +/* ================= GENERAL SPACING ================= */ section { scroll-margin-top: 60px; padding-top: 40px; From 7cf25aede66b0b8915f18c6265a5f0ee9a321643 Mon Sep 17 00:00:00 2001 From: Shamli <148671000+Shamli-Singh-Yadav@users.noreply.github.com> Date: Tue, 7 Oct 2025 16:29:54 +0530 Subject: [PATCH 03/15] Update style.css --- Travelling Website/style.css | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/Travelling Website/style.css b/Travelling Website/style.css index 4ad58dc1..69a39273 100644 --- a/Travelling Website/style.css +++ b/Travelling Website/style.css @@ -198,22 +198,27 @@ body { border-radius: 5px; margin: 0 5px; display: flex; - flex-direction: column; + align-items: center; justify-content: center; - text-align: center; + gap: 6px; font-size: 14px; + font-weight: 500; + text-align: center; + white-space: nowrap; /* keeps everything in one line */ } +.arr_date .day { + color: rgb(120, 120, 120); + font-size: 13px; + font-weight: 400; +} + + .arr_date:hover { cursor: pointer; background-color: #f4f4f4; } -.day { - color: rgb(150, 150, 150); - font-size: 12px; -} - .search { background-color: #123C69; text-align: center; From bd4897f14b9ac3bdc87f44fb6893dd9c420f2604 Mon Sep 17 00:00:00 2001 From: Shamli <148671000+Shamli-Singh-Yadav@users.noreply.github.com> Date: Tue, 7 Oct 2025 16:31:11 +0530 Subject: [PATCH 04/15] Update index.html --- Travelling Website/index.html | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/Travelling Website/index.html b/Travelling Website/index.html index 5900348a..c5dcbdcc 100644 --- a/Travelling Website/index.html +++ b/Travelling Website/index.html @@ -72,12 +72,9 @@

Book Right Away !

- - - + + +
From e44f7c11dda76af9fb94a1c65b8dc99705099be6 Mon Sep 17 00:00:00 2001 From: Shamli <148671000+Shamli-Singh-Yadav@users.noreply.github.com> Date: Tue, 7 Oct 2025 16:39:22 +0530 Subject: [PATCH 05/15] Update index.html --- Travelling Website/index.html | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Travelling Website/index.html b/Travelling Website/index.html index c5dcbdcc..43f7e6f4 100644 --- a/Travelling Website/index.html +++ b/Travelling Website/index.html @@ -72,13 +72,14 @@

Book Right Away !

- - - + +
- - From c28389fd173834a69391fe94a61f2fc49fb823b0 Mon Sep 17 00:00:00 2001 From: Shamli <148671000+Shamli-Singh-Yadav@users.noreply.github.com> Date: Tue, 7 Oct 2025 16:40:06 +0530 Subject: [PATCH 06/15] Update style.css --- Travelling Website/style.css | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/Travelling Website/style.css b/Travelling Website/style.css index 69a39273..a02f80c8 100644 --- a/Travelling Website/style.css +++ b/Travelling Website/style.css @@ -187,38 +187,38 @@ body { display: flex; justify-content: space-between; margin-top: 15px; + gap: 10px; } .arr_date { flex: 1; - padding: 10px; + padding: 12px 16px; height: 60px; background-color: white; border: 2px solid rgb(221, 213, 213); border-radius: 5px; - margin: 0 5px; display: flex; align-items: center; justify-content: center; - gap: 6px; - font-size: 14px; + font-size: 15px; font-weight: 500; - text-align: center; - white-space: nowrap; /* keeps everything in one line */ -} - -.arr_date .day { - color: rgb(120, 120, 120); - font-size: 13px; - font-weight: 400; + color: #123C69; + white-space: nowrap; + transition: 0.3s ease; } - .arr_date:hover { cursor: pointer; background-color: #f4f4f4; } +.day { + color: rgb(120, 120, 120); + font-size: 13px; + margin-left: 6px; +} + + .search { background-color: #123C69; text-align: center; From ec17235620904e84ba40b6dfc8177b033a7f2a4b Mon Sep 17 00:00:00 2001 From: Shamli <148671000+Shamli-Singh-Yadav@users.noreply.github.com> Date: Sat, 11 Oct 2025 23:46:18 +0530 Subject: [PATCH 07/15] Update index.html --- Travelling Website/index.html | 76 +++++++++-------------------------- 1 file changed, 20 insertions(+), 56 deletions(-) diff --git a/Travelling Website/index.html b/Travelling Website/index.html index 43f7e6f4..fd30a0df 100644 --- a/Travelling Website/index.html +++ b/Travelling Website/index.html @@ -7,16 +7,10 @@ - + @@ -24,12 +18,7 @@