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|
|
|
|
|
|
|
|
| 1 |
+
* {
|
| 2 |
+
margin: 0;
|
| 3 |
+
padding: 0;
|
| 4 |
+
box-sizing: border-box;
|
| 5 |
+
}
|
| 6 |
+
|
| 7 |
+
body {
|
| 8 |
+
font-family: 'Work Sans', sans-serif;
|
| 9 |
+
line-height: 1.6;
|
| 10 |
+
color: #333;
|
| 11 |
+
background-color: #f8f4f0;
|
| 12 |
+
}
|
| 13 |
+
|
| 14 |
+
.container {
|
| 15 |
+
max-width: 1200px;
|
| 16 |
+
margin: 0 auto;
|
| 17 |
+
padding: 0 20px;
|
| 18 |
+
}
|
| 19 |
+
|
| 20 |
+
/* Header Styles */
|
| 21 |
+
header {
|
| 22 |
+
background-color: #fff;
|
| 23 |
+
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
| 24 |
+
position: fixed;
|
| 25 |
+
width: 100%;
|
| 26 |
+
top: 0;
|
| 27 |
+
z-index: 1000;
|
| 28 |
+
}
|
| 29 |
+
|
| 30 |
+
.navbar {
|
| 31 |
+
display: flex;
|
| 32 |
+
justify-content: space-between;
|
| 33 |
+
align-items: center;
|
| 34 |
+
padding: 20px 0;
|
| 35 |
+
}
|
| 36 |
+
|
| 37 |
+
.logo h1 {
|
| 38 |
+
font-family: 'Space Mono', monospace;
|
| 39 |
+
font-size: 1.8rem;
|
| 40 |
+
color: #2c2c2c;
|
| 41 |
+
}
|
| 42 |
+
|
| 43 |
+
.logo span {
|
| 44 |
+
color: #8b5a2b;
|
| 45 |
+
}
|
| 46 |
+
|
| 47 |
+
.nav-links {
|
| 48 |
+
display: flex;
|
| 49 |
+
list-style: none;
|
| 50 |
+
}
|
| 51 |
+
|
| 52 |
+
.nav-links li {
|
| 53 |
+
margin-left: 30px;
|
| 54 |
+
}
|
| 55 |
+
|
| 56 |
+
.nav-links a {
|
| 57 |
+
text-decoration: none;
|
| 58 |
+
color: #555;
|
| 59 |
+
font-weight: 600;
|
| 60 |
+
transition: color 0.3s;
|
| 61 |
+
}
|
| 62 |
+
|
| 63 |
+
.nav-links a:hover {
|
| 64 |
+
color: #8b5a2b;
|
| 65 |
+
}
|
| 66 |
+
|
| 67 |
+
.hamburger {
|
| 68 |
+
display: none;
|
| 69 |
+
cursor: pointer;
|
| 70 |
+
font-size: 1.5rem;
|
| 71 |
+
}
|
| 72 |
+
|
| 73 |
+
/* Hero Section */
|
| 74 |
+
.hero {
|
| 75 |
+
background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
|
| 76 |
+
url('assets/images/hero-bg.jpg');
|
| 77 |
+
background-size: cover;
|
| 78 |
+
background-position: center;
|
| 79 |
+
height: 100vh;
|
| 80 |
+
display: flex;
|
| 81 |
+
align-items: center;
|
| 82 |
+
text-align: center;
|
| 83 |
+
color: #fff;
|
| 84 |
+
margin-top: 80px;
|
| 85 |
+
}
|
| 86 |
+
|
| 87 |
+
.hero-content h2 {
|
| 88 |
+
font-size: 3rem;
|
| 89 |
+
margin-bottom: 20px;
|
| 90 |
+
font-family: 'Space Mono', monospace;
|
| 91 |
+
}
|
| 92 |
+
|
| 93 |
+
.hero-content p {
|
| 94 |
+
font-size: 1.2rem;
|
| 95 |
+
max-width: 600px;
|
| 96 |
+
margin: 0 auto 30px;
|
| 97 |
+
}
|
| 98 |
+
|
| 99 |
+
/* Buttons */
|
| 100 |
+
.btn-primary {
|
| 101 |
+
display: inline-block;
|
| 102 |
+
background-color: #8b5a2b;
|
| 103 |
+
color: #fff;
|
| 104 |
+
padding: 15px 30px;
|
| 105 |
+
border-radius: 30px;
|
| 106 |
+
text-decoration: none;
|
| 107 |
+
font-weight: 600;
|
| 108 |
+
text-transform: uppercase;
|
| 109 |
+
letter-spacing: 1px;
|
| 110 |
+
transition: all 0.3s ease;
|
| 111 |
+
border: none;
|
| 112 |
+
cursor: pointer;
|
| 113 |
+
font-size: 1rem;
|
| 114 |
+
}
|
| 115 |
+
|
| 116 |
+
.btn-primary:hover {
|
| 117 |
+
background-color: #6b4423;
|
| 118 |
+
transform: translateY(-3px);
|
| 119 |
+
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
|
| 120 |
+
}
|
| 121 |
+
|
| 122 |
+
/* Section Titles */
|
| 123 |
+
.section-title {
|
| 124 |
+
text-align: center;
|
| 125 |
+
font-family: 'Space Mono', monospace;
|
| 126 |
+
font-size: 2.2rem;
|
| 127 |
+
margin: 50px 0 30px;
|
| 128 |
+
color: #2c2c2c;
|
| 129 |
+
position: relative;
|
| 130 |
+
}
|
| 131 |
+
|
| 132 |
+
.section-title::after {
|
| 133 |
+
content: '';
|
| 134 |
+
position: absolute;
|
| 135 |
+
bottom: -10px;
|
| 136 |
+
left: 50%;
|
| 137 |
+
transform: translateX(-50%);
|
| 138 |
+
width: 80px;
|
| 139 |
+
height: 3px;
|
| 140 |
+
background-color: #8b5a2b;
|
| 141 |
+
}
|
| 142 |
+
|
| 143 |
+
/* Menu Section */
|
| 144 |
+
.menu-section {
|
| 145 |
+
padding: 80px 0;
|
| 146 |
+
}
|
| 147 |
+
|
| 148 |
+
.menu-grid {
|
| 149 |
+
display: grid;
|
| 150 |
+
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
| 151 |
+
gap: 30px;
|
| 152 |
+
margin-top: 40px;
|
| 153 |
+
}
|
| 154 |
+
|
| 155 |
+
.menu-item {
|
| 156 |
+
background: #fff;
|
| 157 |
+
border-radius: 10px;
|
| 158 |
+
overflow: hidden;
|
| 159 |
+
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
|
| 160 |
+
transition: transform 0.3s ease;
|
| 161 |
+
text-align: center;
|
| 162 |
+
}
|
| 163 |
+
|
| 164 |
+
.menu-item:hover {
|
| 165 |
+
transform: translateY(-10px);
|
| 166 |
+
}
|
| 167 |
+
|
| 168 |
+
.menu-item img {
|
| 169 |
+
width: 100%;
|
| 170 |
+
height: 200px;
|
| 171 |
+
object-fit: cover;
|
| 172 |
+
}
|
| 173 |
+
|
| 174 |
+
.menu-item h3 {
|
| 175 |
+
font-family: 'Space Mono', monospace;
|
| 176 |
+
padding: 20px 15px 10px;
|
| 177 |
+
color: #2c2c2c;
|
| 178 |
+
}
|
| 179 |
+
|
| 180 |
+
.menu-item p {
|
| 181 |
+
padding: 0 15px 20px;
|
| 182 |
+
color: #666;
|
| 183 |
+
}
|
| 184 |
+
|
| 185 |
+
.price {
|
| 186 |
+
display: block;
|
| 187 |
+
font-weight: 700;
|
| 188 |
+
font-size: 1.3rem;
|
| 189 |
+
color: #8b5a2b;
|
| 190 |
+
padding: 0 15px 20px;
|
| 191 |
+
}
|
| 192 |
+
|
| 193 |
+
/* About Section */
|
| 194 |
+
.about-section {
|
| 195 |
+
padding: 80px 0;
|
| 196 |
+
background-color: #fff;
|
| 197 |
+
}
|
| 198 |
+
|
| 199 |
+
.about-content {
|
| 200 |
+
display: grid;
|
| 201 |
+
grid-template-columns: 1fr 1fr;
|
| 202 |
+
gap: 50px;
|
| 203 |
+
align-items: center;
|
| 204 |
+
}
|
| 205 |
+
|
| 206 |
+
.about-text h2 {
|
| 207 |
+
text-align: left;
|
| 208 |
+
margin: 0 0 30px;
|
| 209 |
+
}
|
| 210 |
+
|
| 211 |
+
.about-text p {
|
| 212 |
+
margin-bottom: 20px;
|
| 213 |
+
font-size: 1.1rem;
|
| 214 |
+
}
|
| 215 |
+
|
| 216 |
+
.features {
|
| 217 |
+
list-style: none;
|
| 218 |
+
margin-top: 30px;
|
| 219 |
+
}
|
| 220 |
+
|
| 221 |
+
.features li {
|
| 222 |
+
padding: 10px 0;
|
| 223 |
+
font-size: 1.1rem;
|
| 224 |
+
}
|
| 225 |
+
|
| 226 |
+
.features i {
|
| 227 |
+
color: #8b5a2b;
|
| 228 |
+
margin-right: 10px;
|
| 229 |
+
width: 20px;
|
| 230 |
+
text-align: center;
|
| 231 |
+
}
|
| 232 |
+
|
| 233 |
+
.about-image img {
|
| 234 |
+
width: 100%;
|
| 235 |
+
border-radius: 10px;
|
| 236 |
+
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
|
| 237 |
+
}
|
| 238 |
+
|
| 239 |
+
/* Contact Section */
|
| 240 |
+
.contact-section {
|
| 241 |
+
padding: 80px 0;
|
| 242 |
+
}
|
| 243 |
+
|
| 244 |
+
.contact-content {
|
| 245 |
+
display: grid;
|
| 246 |
+
grid-template-columns: 1fr 1fr;
|
| 247 |
+
gap: 50px;
|
| 248 |
+
margin-top: 40px;
|
| 249 |
+
}
|
| 250 |
+
|
| 251 |
+
.contact-info h3 {
|
| 252 |
+
font-family: 'Space Mono', monospace;
|
| 253 |
+
margin-bottom: 20px;
|
| 254 |
+
color: #2c2c2c;
|
| 255 |
+
}
|
| 256 |
+
|
| 257 |
+
.contact-info p {
|
| 258 |
+
margin-bottom: 15px;
|
| 259 |
+
font-size: 1.1rem;
|
| 260 |
+
}
|
| 261 |
+
|
| 262 |
+
.contact-info i {
|
| 263 |
+
color: #8b5a2b;
|
| 264 |
+
margin-right: 10px;
|
| 265 |
+
width: 20px;
|
| 266 |
+
}
|
| 267 |
+
|
| 268 |
+
.contact-form h3 {
|
| 269 |
+
font-family: 'Space Mono', monospace;
|
| 270 |
+
margin-bottom: 20px;
|
| 271 |
+
color: #2c2c2c;
|
| 272 |
+
}
|
| 273 |
+
|
| 274 |
+
.form-group {
|
| 275 |
+
margin-bottom: 20px;
|
| 276 |
+
}
|
| 277 |
+
|
| 278 |
+
.form-group input,
|
| 279 |
+
.form-group select,
|
| 280 |
+
.form-group textarea {
|
| 281 |
+
width: 100%;
|
| 282 |
+
padding: 15px;
|
| 283 |
+
border: 1px solid #ddd;
|
| 284 |
+
border-radius: 5px;
|
| 285 |
+
font-family: 'Work Sans', sans-serif;
|
| 286 |
+
font-size: 1rem;
|
| 287 |
+
}
|
| 288 |
+
|
| 289 |
+
.form-group input:focus,
|
| 290 |
+
.form-group select:focus,
|
| 291 |
+
.form-group textarea:focus {
|
| 292 |
+
outline: none;
|
| 293 |
+
border-color: #8b5a2b;
|
| 294 |
+
}
|
| 295 |
+
|
| 296 |
+
/* Footer */
|
| 297 |
+
footer {
|
| 298 |
+
background-color: #2c2c2c;
|
| 299 |
+
color: #fff;
|
| 300 |
+
padding: 50px 0 20px;
|
| 301 |
+
}
|
| 302 |
+
|
| 303 |
+
.footer-content {
|
| 304 |
+
display: grid;
|
| 305 |
+
grid-template-columns: repeat(3, 1fr);
|
| 306 |
+
gap: 30px;
|
| 307 |
+
margin-bottom: 40px;
|
| 308 |
+
}
|
| 309 |
+
|
| 310 |
+
.footer-logo h2 {
|
| 311 |
+
font-family: 'Space Mono', monospace;
|
| 312 |
+
font-size: 1.8rem;
|
| 313 |
+
margin-bottom: 10px;
|
| 314 |
+
color: #fff;
|
| 315 |
+
}
|
| 316 |
+
|
| 317 |
+
.footer-logo span {
|
| 318 |
+
color: #d4a76a;
|
| 319 |
+
}
|
| 320 |
+
|
| 321 |
+
.footer-logo p {
|
| 322 |
+
color: #aaa;
|
| 323 |
+
}
|
| 324 |
+
|
| 325 |
+
.footer-links {
|
| 326 |
+
display: flex;
|
| 327 |
+
flex-direction: column;
|
| 328 |
+
}
|
| 329 |
+
|
| 330 |
+
.footer-links a {
|
| 331 |
+
color: #ddd;
|
| 332 |
+
text-decoration: none;
|
| 333 |
+
margin-bottom: 15px;
|
| 334 |
+
transition: color 0.3s;
|
| 335 |
+
}
|
| 336 |
+
|
| 337 |
+
.footer-links a:hover {
|
| 338 |
+
color: #d4a76a;
|
| 339 |
+
}
|
| 340 |
+
|
| 341 |
+
.social-links {
|
| 342 |
+
display: flex;
|
| 343 |
+
justify-content: flex-end;
|
| 344 |
+
}
|
| 345 |
+
|
| 346 |
+
.social-links a {
|
| 347 |
+
color: #fff;
|
| 348 |
+
margin-left: 20px;
|
| 349 |
+
font-size: 1.5rem;
|
| 350 |
+
transition: color 0.3s;
|
| 351 |
+
}
|
| 352 |
+
|
| 353 |
+
.social-links a:hover {
|
| 354 |
+
color: #d4a76a;
|
| 355 |
+
}
|
| 356 |
+
|
| 357 |
+
.footer-bottom {
|
| 358 |
+
text-align: center;
|
| 359 |
+
padding-top: 20px;
|
| 360 |
+
border-top: 1px solid #444;
|
| 361 |
+
color: #aaa;
|
| 362 |
+
}
|
| 363 |
+
|
| 364 |
+
.footer-bottom i {
|
| 365 |
+
color: #e74c3c;
|
| 366 |
+
}
|
| 367 |
+
|
| 368 |
+
/* Responsive Design */
|
| 369 |
+
@media (max-width: 768px) {
|
| 370 |
+
.navbar {
|
| 371 |
+
flex-wrap: wrap;
|
| 372 |
+
}
|
| 373 |
+
|
| 374 |
+
.hamburger {
|
| 375 |
+
display: block;
|
| 376 |
+
}
|
| 377 |
+
|
| 378 |
+
.nav-links {
|
| 379 |
+
position: fixed;
|
| 380 |
+
top: 80px;
|
| 381 |
+
left: -100%;
|
| 382 |
+
width: 100%;
|
| 383 |
+
height: calc(100vh - 80px);
|
| 384 |
+
background-color: #fff;
|
| 385 |
+
flex-direction: column;
|
| 386 |
+
align-items: center;
|
| 387 |
+
transition: 0.3s;
|
| 388 |
+
padding-top: 50px;
|
| 389 |
+
}
|
| 390 |
+
|
| 391 |
+
.nav-links.active {
|
| 392 |
+
left: 0;
|
| 393 |
+
}
|
| 394 |
+
|
| 395 |
+
.nav-links li {
|
| 396 |
+
margin: 15px 0;
|
| 397 |
+
}
|
| 398 |
+
|
| 399 |
+
.hero-content h2 {
|
| 400 |
+
font-size: 2rem;
|
| 401 |
+
}
|
| 402 |
+
|
| 403 |
+
.hero-content p {
|
| 404 |
+
font-size: 1rem;
|
| 405 |
+
}
|
| 406 |
+
|
| 407 |
+
.about-content,
|
| 408 |
+
.contact-content {
|
| 409 |
+
grid-template-columns: 1fr;
|
| 410 |
+
}
|
| 411 |
+
|
| 412 |
+
.footer-content {
|
| 413 |
+
grid-template-columns: 1fr;
|
| 414 |
+
text-align: center;
|
| 415 |
+
}
|
| 416 |
+
|
| 417 |
+
.social-links {
|
| 418 |
+
justify-content: center;
|
| 419 |
+
}
|
| 420 |
+
|
| 421 |
+
.social-links a {
|
| 422 |
+
margin: 0 10px;
|
| 423 |
+
}
|
| 424 |
+
}
|
| 425 |
+
|
| 426 |
+
@media (max-width: 480px) {
|
| 427 |
+
.hero-content h2 {
|
| 428 |
+
font-size: 1.8rem;
|
| 429 |
+
}
|
| 430 |
+
|
| 431 |
+
.section-title {
|
| 432 |
+
font-size: 1.8rem;
|
| 433 |
+
}
|
| 434 |
+
|
| 435 |
+
.menu-grid {
|
| 436 |
+
grid-template-columns: 1fr;
|
| 437 |
+
}
|
| 438 |
+
}
|
| 439 |
+
|
| 440 |
+
/* Additional styles for better visuals */
|
| 441 |
+
img {
|
| 442 |
+
max-width: 100%;
|
| 443 |
+
height: auto;
|
| 444 |
+
}
|
| 445 |
+
|
| 446 |
+
h1, h2, h3, h4 {
|
| 447 |
+
font-family: 'Space Mono', monospace;
|
| 448 |
+
color: #2c2c2c;
|
| 449 |
+
}
|
| 450 |
+
|
| 451 |
+
p {
|
| 452 |
+
color: #555;
|
| 453 |
+
}
|
| 454 |
+
|
| 455 |
+
/* Animation for form submission */
|
| 456 |
+
.form-success {
|
| 457 |
+
background-color: #4CAF50;
|
| 458 |
+
color: white;
|
| 459 |
+
padding: 10px;
|
| 460 |
+
border-radius: 5px;
|
| 461 |
+
text-align: center;
|
| 462 |
+
margin-bottom: 20px;
|
| 463 |
+
display: none;
|
| 464 |
+
}
|
| 465 |
+
|
| 466 |
+
.form-error {
|
| 467 |
+
background-color: #f44336;
|
| 468 |
+
color: white;
|
| 469 |
+
padding: 10px;
|
| 470 |
+
border-radius: 5px;
|
| 471 |
+
text-align: center;
|
| 472 |
+
margin-bottom: 20px;
|
| 473 |
+
display: none;
|
| 474 |
+
}
|
| 475 |
+
|
| 476 |
+
/* Scroll behavior */
|
| 477 |
+
html {
|
| 478 |
+
scroll-behavior: smooth;
|
| 479 |
+
}
|
| 480 |
+
|
| 481 |
+
/* Button focus style */
|
| 482 |
+
.btn-primary:focus {
|
| 483 |
+
outline: 2px solid #d4a76a;
|
| 484 |
+
outline-offset: 2px;
|
| 485 |
+
}
|
| 486 |
+
|
| 487 |
+
/* Form validation styles */
|
| 488 |
+
.form-group input:invalid,
|
| 489 |
+
.form-group select:invalid {
|
| 490 |
+
border-color: #f44336;
|
| 491 |
+
}
|
| 492 |
+
|
| 493 |
+
.form-group input:valid,
|
| 494 |
+
.form-group select:valid {
|
| 495 |
+
border-color: #4CAF50;
|
| 496 |
+
}
|
assets/js/script.js
ADDED
|
@@ -0,0 +1,121 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
// Mobile Navigation Toggle
|
| 2 |
+
const hamburger = document.querySelector('.hamburger');
|
| 3 |
+
const navLinks = document.querySelector('.nav-links');
|
| 4 |
+
|
| 5 |
+
hamburger.addEventListener('click', () => {
|
| 6 |
+
navLinks.classList.toggle('active');
|
| 7 |
+
});
|
| 8 |
+
|
| 9 |
+
// Close mobile menu when clicking a link
|
| 10 |
+
document.querySelectorAll('.nav-links a').forEach(link => {
|
| 11 |
+
link.addEventListener('click', () => {
|
| 12 |
+
navLinks.classList.remove('active');
|
| 13 |
+
});
|
| 14 |
+
});
|
| 15 |
+
|
| 16 |
+
// Form Submission Handling
|
| 17 |
+
const coffeeForm = document.getElementById('coffeeForm');
|
| 18 |
+
|
| 19 |
+
coffeeForm.addEventListener('submit', function(e) {
|
| 20 |
+
e.preventDefault();
|
| 21 |
+
|
| 22 |
+
// Get form values
|
| 23 |
+
const name = document.getElementById('name').value;
|
| 24 |
+
const email = document.getElementById('email').value;
|
| 25 |
+
const coffee = document.getElementById('coffee').value;
|
| 26 |
+
|
| 27 |
+
// Simple validation
|
| 28 |
+
if(name && email && coffee) {
|
| 29 |
+
// Create success message
|
| 30 |
+
const successMsg = document.createElement('div');
|
| 31 |
+
successMsg.className = 'form-success';
|
| 32 |
+
successMsg.textContent = `Thanks ${name}! Your order for ${coffee} has been placed. We'll send confirmation to ${email}.`;
|
| 33 |
+
|
| 34 |
+
// Insert before form
|
| 35 |
+
this.parentNode.insertBefore(successMsg, this);
|
| 36 |
+
successMsg.style.display = 'block';
|
| 37 |
+
|
| 38 |
+
// Reset form
|
| 39 |
+
this.reset();
|
| 40 |
+
|
| 41 |
+
// Remove message after 5 seconds
|
| 42 |
+
setTimeout(() => {
|
| 43 |
+
successMsg.remove();
|
| 44 |
+
}, 5000);
|
| 45 |
+
} else {
|
| 46 |
+
// Create error message
|
| 47 |
+
const errorMsg = document.createElement('div');
|
| 48 |
+
errorMsg.className = 'form-error';
|
| 49 |
+
errorMsg.textContent = 'Please fill in all required fields.';
|
| 50 |
+
|
| 51 |
+
// Insert before form
|
| 52 |
+
this.parentNode.insertBefore(errorMsg, this);
|
| 53 |
+
errorMsg.style.display = 'block';
|
| 54 |
+
|
| 55 |
+
// Remove message after 3 seconds
|
| 56 |
+
setTimeout(() => {
|
| 57 |
+
errorMsg.remove();
|
| 58 |
+
}, 3000);
|
| 59 |
+
}
|
| 60 |
+
});
|
| 61 |
+
|
| 62 |
+
// Scroll animation for sections
|
| 63 |
+
const sections = document.querySelectorAll('section');
|
| 64 |
+
|
| 65 |
+
const observerOptions = {
|
| 66 |
+
root: null,
|
| 67 |
+
rootMargin: '0px',
|
| 68 |
+
threshold: 0.1
|
| 69 |
+
};
|
| 70 |
+
|
| 71 |
+
const observer = new IntersectionObserver((entries, observer) => {
|
| 72 |
+
entries.forEach(entry => {
|
| 73 |
+
if(entry.isIntersecting) {
|
| 74 |
+
entry.target.classList.add('visible');
|
| 75 |
+
observer.unobserve(entry.target);
|
| 76 |
+
}
|
| 77 |
+
});
|
| 78 |
+
}, observerOptions);
|
| 79 |
+
|
| 80 |
+
sections.forEach(section => {
|
| 81 |
+
observer.observe(section);
|
| 82 |
+
});
|
| 83 |
+
|
| 84 |
+
// Add visible class for initial load
|
| 85 |
+
document.getElementById('home').classList.add('visible');
|
| 86 |
+
|
| 87 |
+
// Smooth scroll for anchor links
|
| 88 |
+
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
|
| 89 |
+
anchor.addEventListener('click', function(e) {
|
| 90 |
+
e.preventDefault();
|
| 91 |
+
|
| 92 |
+
const targetId = this.getAttribute('href');
|
| 93 |
+
if(targetId === '#') return;
|
| 94 |
+
|
| 95 |
+
const targetElement = document.querySelector(targetId);
|
| 96 |
+
if(targetElement) {
|
| 97 |
+
window.scrollTo({
|
| 98 |
+
top: targetElement.offsetTop - 80,
|
| 99 |
+
behavior: 'smooth'
|
| 100 |
+
});
|
| 101 |
+
}
|
| 102 |
+
});
|
| 103 |
+
});
|
| 104 |
+
|
| 105 |
+
// Add animation classes to sections
|
| 106 |
+
document.addEventListener('DOMContentLoaded', function() {
|
| 107 |
+
const style = document.createElement('style');
|
| 108 |
+
style.textContent = `
|
| 109 |
+
section {
|
| 110 |
+
opacity: 0;
|
| 111 |
+
transform: translateY(20px);
|
| 112 |
+
transition: opacity 0.6s ease, transform 0.6s ease;
|
| 113 |
+
}
|
| 114 |
+
|
| 115 |
+
section.visible {
|
| 116 |
+
opacity: 1;
|
| 117 |
+
transform: translateY(0);
|
| 118 |
+
}
|
| 119 |
+
`;
|
| 120 |
+
document.head.appendChild(style);
|
| 121 |
+
});
|
index.html
CHANGED
|
@@ -1,19 +1,168 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<meta name="description" content="Anycoder Coffee - Premium specialty coffee for developers and coding enthusiasts">
|
| 7 |
+
<meta name="keywords" content="coffee, specialty coffee, developer coffee, coding fuel, caffeine">
|
| 8 |
+
<title>Anycoder Coffee | Premium Coding Fuel</title>
|
| 9 |
+
<link rel="stylesheet" href="assets/css/styles.css">
|
| 10 |
+
<link rel="preconnect" href="https://fonts.googleapis.com">
|
| 11 |
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
| 12 |
+
<link href="https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&family=Work+Sans:wght@300;400;600;700&display=swap" rel="stylesheet">
|
| 13 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 14 |
+
</head>
|
| 15 |
+
<body>
|
| 16 |
+
<header>
|
| 17 |
+
<div class="container">
|
| 18 |
+
<nav class="navbar">
|
| 19 |
+
<div class="logo">
|
| 20 |
+
<h1>Anycoder<span>Coffee</span></h1>
|
| 21 |
+
</div>
|
| 22 |
+
<ul class="nav-links">
|
| 23 |
+
<li><a href="#home">Home</a></li>
|
| 24 |
+
<li><a href="#menu">Menu</a></li>
|
| 25 |
+
<li><a href="#about">About</a></li>
|
| 26 |
+
<li><a href="#contact">Contact</a></li>
|
| 27 |
+
</ul>
|
| 28 |
+
<div class="hamburger">
|
| 29 |
+
<i class="fas fa-bars"></i>
|
| 30 |
+
</div>
|
| 31 |
+
</nav>
|
| 32 |
+
</div>
|
| 33 |
+
</header>
|
| 34 |
+
|
| 35 |
+
<main>
|
| 36 |
+
<section id="home" class="hero">
|
| 37 |
+
<div class="container">
|
| 38 |
+
<div class="hero-content">
|
| 39 |
+
<h2>Fuel Your Code With The Perfect Blend</h2>
|
| 40 |
+
<p>Premium specialty coffee crafted for developers who demand excellence in every line they write.</p>
|
| 41 |
+
<div class="hero-video-container">
|
| 42 |
+
<video controls autoplay muted loop playsinline style="max-width: 100%; height: auto; border-radius: 8px; margin: 10px 0; display: block;" onloadstart="this.style.backgroundColor='#f0f0f0'" onerror="this.style.display='none'; console.error('Video failed to load')"><source src="https://huggingface.co/datasets/akhaliq/anycoder-media/resolve/main/video/20250825_191454_448cf5e9_text_to_video_result.mp4" type="video/mp4" /><p style="text-align: center; color: #666;">Your browser does not support the video tag.</p></video>
|
| 43 |
+
</div>
|
| 44 |
+
<a href="#menu" class="btn-primary">Explore Our Menu</a>
|
| 45 |
+
</div>
|
| 46 |
+
</div>
|
| 47 |
+
</section>
|
| 48 |
+
|
| 49 |
+
<section id="menu" class="menu-section">
|
| 50 |
+
<div class="container">
|
| 51 |
+
<h2 class="section-title">Our Coffee Menu</h2>
|
| 52 |
+
<div class="menu-grid">
|
| 53 |
+
<div class="menu-item">
|
| 54 |
+
<img src="assets/images/espresso.jpg" alt="Espresso">
|
| 55 |
+
<h3>Binary Espresso</h3>
|
| 56 |
+
<p>Strong and bold - just like your code. A single shot to jumpstart your development day.</p>
|
| 57 |
+
<span class="price">$3.50</span>
|
| 58 |
+
</div>
|
| 59 |
+
<div class="menu-item">
|
| 60 |
+
<img src="assets/images/cappuccino.jpg" alt="Cappuccino">
|
| 61 |
+
<h3>Code Cappuccino</h3>
|
| 62 |
+
<p>Perfectly balanced with layers as clean as your CSS. Frothy goodness for your front-end projects.</p>
|
| 63 |
+
<span class="price">$4.75</span>
|
| 64 |
+
</div>
|
| 65 |
+
<div class="menu-item">
|
| 66 |
+
<img src="assets/images/latte.jpg" alt="Latte">
|
| 67 |
+
<h3>Logic Latte</h3>
|
| 68 |
+
<p>Smooth and creamy with a caffeine kick to power through complex algorithms.</p>
|
| 69 |
+
<span class="price">$5.25</span>
|
| 70 |
+
</div>
|
| 71 |
+
<div class="menu-item">
|
| 72 |
+
<img src="assets/images/cold-brew.jpg" alt="Cold Brew">
|
| 73 |
+
<h3>Debug Cold Brew</h3>
|
| 74 |
+
<p>Slow brewed to perfection. Cool, calm, and collected for those late-night debugging sessions.</p>
|
| 75 |
+
<span class="price">$4.95</span>
|
| 76 |
+
</div>
|
| 77 |
+
</div>
|
| 78 |
+
</div>
|
| 79 |
+
</section>
|
| 80 |
+
|
| 81 |
+
<section id="about" class="about-section">
|
| 82 |
+
<div class="container">
|
| 83 |
+
<div class="about-content">
|
| 84 |
+
<div class="about-text">
|
| 85 |
+
<h2 class="section-title">Why Anycoder Coffee?</h2>
|
| 86 |
+
<p>We understand that great code requires great coffee. Our beans are ethically sourced from coding-friendly farms where developers grow the best beans while perfecting their algorithms.</p>
|
| 87 |
+
<p>Each blend is specifically crafted to enhance focus, boost creativity, and provide the sustained energy needed for long coding sessions without the jitters.</p>
|
| 88 |
+
<ul class="features">
|
| 89 |
+
<li><i class="fas fa-code"></i> Developer-approved roasts</li>
|
| 90 |
+
<li><i class="fas fa-mug-hot"></i> Sustainably sourced beans</li>
|
| 91 |
+
<li><i class="fas fa-brain"></i> Enhanced cognitive focus</li>
|
| 92 |
+
<li><i class="fas fa-moon"></i> Perfect for night owls</li>
|
| 93 |
+
</ul>
|
| 94 |
+
</div>
|
| 95 |
+
<div class="about-image">
|
| 96 |
+
<img src="assets/images/coffee-shop.jpg" alt="Anycoder Coffee Shop">
|
| 97 |
+
</div>
|
| 98 |
+
</div>
|
| 99 |
+
</div>
|
| 100 |
+
</section>
|
| 101 |
+
|
| 102 |
+
<section id="contact" class="contact-section">
|
| 103 |
+
<div class="container">
|
| 104 |
+
<h2 class="section-title">Contact Us</h2>
|
| 105 |
+
<div class="contact-content">
|
| 106 |
+
<div class="contact-info">
|
| 107 |
+
<h3>Visit Our Shop</h3>
|
| 108 |
+
<p><i class="fas fa-map-marker-alt"></i> 1010 Binary Lane, Codeville</p>
|
| 109 |
+
<p><i class="fas fa-clock"></i> Open 24/7 for developers</p>
|
| 110 |
+
<p><i class="fas fa-phone"></i> (101) 010-1010</p>
|
| 111 |
+
<p><i class="fas fa-envelope"></i> code@anycoder.coffee</p>
|
| 112 |
+
</div>
|
| 113 |
+
<form class="contact-form" id="coffeeForm">
|
| 114 |
+
<h3>Order Your Blend</h3>
|
| 115 |
+
<div class="form-group">
|
| 116 |
+
<input type="text" id="name" name="name" placeholder="Your Name" required>
|
| 117 |
+
</div>
|
| 118 |
+
<div class="form-group">
|
| 119 |
+
<input type="email" id="email" name="email" placeholder="Your Email" required>
|
| 120 |
+
</div>
|
| 121 |
+
<div class="form-group">
|
| 122 |
+
<select id="coffee" name="coffee" required>
|
| 123 |
+
<option value="" disabled selected>Select Your Coffee</option>
|
| 124 |
+
<option value="espresso">Binary Espresso</option>
|
| 125 |
+
<option value="cappuccino">Code Cappuccino</option>
|
| 126 |
+
<option value="latte">Logic Latte</option>
|
| 127 |
+
<option value="coldbrew">Debug Cold Brew</option>
|
| 128 |
+
</select>
|
| 129 |
+
</div>
|
| 130 |
+
<div class="form-group">
|
| 131 |
+
<textarea id="message" name="message" placeholder="Special requests or coding jokes..." rows="4"></textarea>
|
| 132 |
+
</div>
|
| 133 |
+
<button type="submit" class="btn-primary">Place Order</button>
|
| 134 |
+
</form>
|
| 135 |
+
</div>
|
| 136 |
+
</div>
|
| 137 |
+
</section>
|
| 138 |
+
</main>
|
| 139 |
+
|
| 140 |
+
<footer>
|
| 141 |
+
<div class="container">
|
| 142 |
+
<div class="footer-content">
|
| 143 |
+
<div class="footer-logo">
|
| 144 |
+
<h2>Anycoder<span>Coffee</span></h2>
|
| 145 |
+
<p>Fueling developers since 2023</p>
|
| 146 |
+
</div>
|
| 147 |
+
<div class="footer-links">
|
| 148 |
+
<a href="#home">Home</a>
|
| 149 |
+
<a href="#menu">Menu</a>
|
| 150 |
+
<a href="#about">About</a>
|
| 151 |
+
<a href="#contact">Contact</a>
|
| 152 |
+
</div>
|
| 153 |
+
<div class="social-links">
|
| 154 |
+
<a href="#"><i class="fab fa-github"></i></a>
|
| 155 |
+
<a href="#"><i class="fab fa-twitter"></i></a>
|
| 156 |
+
<a href="#"><i class="fab fa-instagram"></i></a>
|
| 157 |
+
<a href="#"><i class="fab fa-linkedin"></i></a>
|
| 158 |
+
</div>
|
| 159 |
+
</div>
|
| 160 |
+
<div class="footer-bottom">
|
| 161 |
+
<p>© 2023 Anycoder Coffee. All rights reserved. Crafted with <i class="fas fa-heart"></i> for developers.</p>
|
| 162 |
+
</div>
|
| 163 |
+
</div>
|
| 164 |
+
</footer>
|
| 165 |
+
|
| 166 |
+
<script src="assets/js/script.js"></script>
|
| 167 |
+
</body>
|
| 168 |
+
</html>
|