-
Notifications
You must be signed in to change notification settings - Fork 345
/
contact.html
163 lines (146 loc) · 5.12 KB
/
contact.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Contact Us Form</title>
<!-- External Stylesheets -->
<link rel="stylesheet" href="./style.css">
<link rel="stylesheet" href="./contact.css">
<!-- Icons and Fonts -->
<link rel="icon" href="https://img.icons8.com/?size=100&id=I24lanX6Nq71&format=png&color=000000">
<link href="https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css" rel="stylesheet">
<!-- Internal Styles -->
<style>
.card {
width: 80%;
margin: 30px auto;
padding: 20px;
border: 1px solid #ccc;
border-radius: 8px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
background-color: #fff;
}
.card-header h2 {
color: #fff;
padding: 15px;
text-align: center;
background-color: #333;
border-radius: 6px;
text-shadow: 2px 2px 10px gray;
}
.card-body {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
gap: 20px;
}
.form-section, .image-section {
flex: 1;
min-width: 45%;
}
.form-group {
margin-bottom: 20px;
}
label {
display: block;
margin-bottom: 10px;
color: #1e1e1e;
}
input, textarea {
width: 100%;
padding: 12px;
border: 1px solid #ccc;
border-radius: 5px;
}
button[type="submit"] {
background-color: rgb(27, 27, 27);
color: #fff;
padding: 12px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 1.5rem;
}
button[type="submit"]:hover {
background-color: black;
}
.tooltip {
visibility: hidden;
background-color: black;
color: #fff;
width: 200px;
text-align: center;
padding: 5px;
border-radius: 5px;
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
opacity: 0;
transition: opacity 0.3s;
font-size: 12px;
}
.form-group:hover .tooltip {
visibility: visible;
opacity: 1;
}
/* Responsive */
@media (max-width: 768px) {
.card-body {
flex-direction: column;
}
.form-section, .image-section {
width: 100%;
}
}
</style>
</head>
<body>
<!-- Header Section -->
<header style="background-color: black; height: 85px">
<nav style="padding: 5px; width: 90%">
<div class="logo">
<img src="img/logo.png" id="logo-web" alt="BuddyTrail Logo" />
<h1 id="logo"><a href="#home">BuddyTrail</a></h1>
</div>
<!-- Hamburger Menu for Mobile -->
<button class="hamburger" id="hamburger">☰</button>
<!-- Navigation Links -->
<ul id="nav-list">
<span class="dropdown-close-btn" id="closeBtn">×</span>
<li><a href="./index.html" class="navhover">Home</a></li>
<li><a href="team.html" class="navhover">Team</a></li>
<li><a href="index.html#deals" class="navhover">Exclusive Deals</a></li>
<li><a href="index.html#benefits" class="navhover">Benefits</a></li>
<li><a href="about.html" class="navhover">About</a></li>
<li><a href="index.html#itineraries" class="navhover">Travel Itineraries</a></li>
<li><a href="./contact.html" class="navhover">Contact</a></li>
<li><a href="index.html#reviews" class="navhover">Reviews</a></li>
<li><a href="auth.html" class="navhover">Sign In</a></li>
</ul>
</nav>
</header>
<!-- Contact Us Section -->
<section id="contactus">
<div class="card">
<div class="card-header">
<h2>Contact Us</h2>
</div>
<div class="card-body">
<div class="form-section">
<div class="form-group">
<label for="message">Message</label>
<textarea id="message" name="message" placeholder="Your message" required></textarea>
<div class="tooltip">Feel free to describe your message in detail.</div>
</div>
<button type="submit">Send</button>
</div>
<div class="image-section">
<img src="./image.png" alt="Contact Image" />
</div>
</div>
</div>
</section>
</body>
</html>