| :root { | |
| --primary: #5D4037; | |
| --secondary: #8D6E63; | |
| --accent: #FFCC80; | |
| --light: #FFF8E1; | |
| --dark: #3E2723; | |
| --text: #4E342E; | |
| } | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| body { | |
| font-family: 'Montserrat', sans-serif; | |
| line-height: 1.6; | |
| color: var(--text); | |
| background-color: var(--light); | |
| } | |
| header { | |
| background: var(--primary); | |
| color: white; | |
| padding: 1rem; | |
| position: fixed; | |
| width: 100%; | |
| top: 0; | |
| z-index: 100; | |
| } | |
| nav { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| } | |
| .logo { | |
| font-size: 1.5rem; | |
| font-weight: bold; | |
| } | |
| .nav-links { | |
| display: flex; | |
| list-style: none; | |
| } | |
| .nav-links li { | |
| margin-left: 2rem; | |
| } | |
| .nav-links a { | |
| color: white; | |
| text-decoration: none; | |
| transition: color 0.3s; | |
| } | |
| .nav-links a:hover { | |
| color: var(--accent); | |
| } | |
| .burger { | |
| display: none; | |
| cursor: pointer; | |
| } | |
| .burger span { | |
| display: block; | |
| width: 25px; | |
| height: 3px; | |
| margin: 5px 0; | |
| background-color: white; | |
| } | |
| .hero { | |
| height: 100vh; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://picsum.photos/seed/coffee/1600/900.jpg'); | |
| background-size: cover; | |
| background-position: center; | |
| text-align: center; | |
| color: white; | |
| padding: 0 1rem; | |
| } | |
| .hero-text h1 { | |
| font-size: 3rem; | |
| margin-bottom: 1rem; | |
| } | |
| .hero-text p { | |
| font-size: 1.2rem; | |
| margin-bottom: 2rem; | |
| } | |
| .cta { | |
| display: inline-block; | |
| background: var(--accent); | |
| color: var(--dark); | |
| padding: 0.8rem 1.5rem; | |
| text-decoration: none; | |
| border-radius: 4px; | |
| font-weight: bold; | |
| transition: transform 0.3s; | |
| } | |
| .cta:hover { | |
| transform: translateY(-3px); | |
| } | |
| section { | |
| padding: 4rem 1rem; | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| } | |
| section h2 { | |
| text-align: center; | |
| margin-bottom: 3rem; | |
| color: var(--primary); | |
| font-size: 2.5rem; | |
| } | |
| .menu-items { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); | |
| gap: 2rem; | |
| } | |
| .menu-item { | |
| background: white; | |
| padding: 2rem; | |
| border-radius: 8px; | |
| box-shadow: 0 4px 6px rgba(0,0,0,0.1); | |
| transition: transform 0.3s; | |
| } | |
| .menu-item:hover { | |
| transform: translateY(-5px); | |
| } | |
| .menu-item h3 { | |
| margin-bottom: 0.5rem; | |
| color: var(--primary); | |
| } | |
| .price { | |
| font-weight: bold; | |
| color: var(--secondary); | |
| margin-bottom: 1rem; | |
| } | |
| .about { | |
| background: white; | |
| text-align: center; | |
| } | |
| .contact { | |
| background: var(--primary); | |
| color: white; | |
| text-align: center; | |
| } | |
| .contact h2 { | |
| color: white; | |
| } | |
| .contact-info p { | |
| margin: 0.5rem 0; | |
| } | |
| footer { | |
| background: var(--dark); | |
| color: white; | |
| text-align: center; | |
| padding: 1rem; | |
| } | |
| @media screen and (max-width: 768px) { | |
| .nav-links { | |
| position: absolute; | |
| right: 0; | |
| top: 70px; | |
| background: var(--primary); | |
| width: 100%; | |
| flex-direction: column; | |
| align-items: center; | |
| padding: 1rem 0; | |
| transform: translateY(-100%); | |
| transition: transform 0.5s; | |
| } | |
| .nav-links.active { | |
| transform: translateY(0); | |
| } | |
| .nav-links li { | |
| margin: 1rem 0; | |
| } | |
| .burger { | |
| display: block; | |
| } | |
| .hero-text h1 { | |
| font-size: 2rem; | |
| } | |
| } |