sayt-dlya-restorana-etno-sti/style.css

549 lines
8.7 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--primary: #c9a227;
--primary-dark: #a6851a;
--secondary: #8b4513;
--accent: #d4a574;
--dark: #1a1a1a;
--light: #f5f0e6;
--warm: #f9f3e6;
--text: #2c2c2c;
--text-light: #666;
--border: #e0d5c1;
}
body {
font-family: 'Georgia', 'Times New Roman', serif;
background: var(--warm);
color: var(--text);
line-height: 1.6;
overflow-x: hidden;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
.section {
padding: 80px 0;
}
.section-title {
text-align: center;
font-size: clamp(32px, 5vw, 48px);
color: var(--secondary);
margin-bottom: 50px;
position: relative;
padding-bottom: 20px;
}
.section-title::after {
content: '';
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: 100px;
height: 3px;
background: linear-gradient(90deg, transparent, var(--primary), transparent);
}
.btn {
display: inline-block;
padding: 14px 32px;
background: var(--primary);
color: white;
text-decoration: none;
border-radius: 4px;
font-weight: 600;
font-size: 16px;
border: 2px solid var(--primary);
transition: all 0.3s ease;
cursor: pointer;
}
.btn:hover {
background: var(--primary-dark);
border-color: var(--primary-dark);
transform: translateY(-2px);
}
.btn-outline {
background: transparent;
color: var(--primary);
}
.btn-outline:hover {
background: var(--primary);
color: white;
}
.header {
position: fixed;
top: 0;
left: 0;
right: 0;
background: rgba(26, 26, 26, 0.95);
backdrop-filter: blur(10px);
z-index: 1000;
padding: 15px 0;
box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav {
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
font-size: 24px;
font-weight: bold;
color: var(--primary);
text-transform: uppercase;
letter-spacing: 2px;
}
.nav-links {
display: flex;
list-style: none;
gap: 30px;
}
.nav-links a {
color: var(--light);
text-decoration: none;
font-weight: 500;
transition: color 0.3s ease;
position: relative;
}
.nav-links a::after {
content: '';
position: absolute;
bottom: -5px;
left: 0;
width: 0;
height: 2px;
background: var(--primary);
transition: width 0.3s ease;
}
.nav-links a:hover {
color: var(--primary);
}
.nav-links a:hover::after {
width: 100%;
}
.hero {
height: 100vh;
background: linear-gradient(135deg, rgba(139, 69, 19, 0.7), rgba(201, 162, 39, 0.5)),
url('4884.jpg') center/cover no-repeat;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
position: relative;
}
.hero-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.4) 100%);
}
.hero-content {
position: relative;
z-index: 1;
color: white;
}
.hero h1 {
font-size: clamp(48px, 10vw, 96px);
margin-bottom: 20px;
text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
letter-spacing: 3px;
color: var(--primary);
}
.hero-subtitle {
font-size: clamp(18px, 3vw, 24px);
margin-bottom: 30px;
font-style: italic;
text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}
.about {
background: white;
}
.about-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 60px;
align-items: center;
}
.about-image img {
width: 100%;
height: auto;
border-radius: 8px;
box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}
.about-text h2 {
font-size: 36px;
color: var(--secondary);
margin-bottom: 20px;
}
.about-text p {
color: var(--text-light);
margin-bottom: 15px;
font-size: 17px;
}
.features {
display: flex;
flex-wrap: wrap;
gap: 20px;
margin-top: 30px;
}
.feature {
display: flex;
align-items: center;
gap: 10px;
padding: 12px 20px;
background: var(--warm);
border-radius: 8px;
border: 1px solid var(--border);
}
.feature-icon {
font-size: 24px;
}
.menu {
background: var(--warm);
}
.menu-category {
margin-bottom: 50px;
}
.category-title {
font-size: 28px;
color: var(--secondary);
margin-bottom: 30px;
padding-bottom: 15px;
border-bottom: 2px solid var(--primary);
display: inline-block;
}
.menu-grid {
display: grid;
gap: 25px;
}
.menu-item {
background: white;
padding: 25px;
border-radius: 8px;
box-shadow: 0 4px 15px rgba(0,0,0,0.08);
border: 1px solid var(--border);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.menu-item:hover {
transform: translateY(-5px);
box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}
.item-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 10px;
}
.item-header h4 {
font-size: 20px;
color: var(--dark);
font-weight: 600;
}
.price {
font-size: 20px;
font-weight: bold;
color: var(--primary);
white-space: nowrap;
}
.item-desc {
color: var(--text-light);
font-size: 15px;
line-height: 1.5;
}
.promo {
background: linear-gradient(135deg, var(--secondary), var(--dark));
color: white;
}
.promo .section-title {
color: var(--primary);
}
.promo-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 30px;
margin-bottom: 50px;
}
.promo-card {
background: rgba(255,255,255,0.1);
backdrop-filter: blur(10px);
padding: 30px;
border-radius: 12px;
border: 2px solid rgba(201, 162, 39, 0.3);
position: relative;
overflow: hidden;
transition: all 0.3s ease;
}
.promo-card:hover {
transform: translateY(-5px);
border-color: var(--primary);
background: rgba(255,255,255,0.15);
}
.promo-card.featured {
border-color: var(--primary);
background: rgba(201, 162, 39, 0.2);
}
.promo-badge {
position: absolute;
top: 15px;
right: 15px;
background: var(--primary);
color: white;
padding: 8px 15px;
border-radius: 20px;
font-weight: bold;
font-size: 14px;
}
.promo-badge.hot {
background: linear-gradient(135deg, #ff6b6b, #ff8e53);
animation: pulse 2s infinite;
}
@keyframes pulse {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.05); }
}
.promo-card h3 {
font-size: 24px;
margin-bottom: 10px;
color: var(--primary);
}
.promo-time {
color: var(--accent);
font-weight: 500;
margin-bottom: 15px;
font-size: 14px;
}
.promo-card p {
opacity: 0.9;
line-height: 1.6;
}
.loyalty-program {
background: rgba(201, 162, 39, 0.15);
border: 2px solid var(--primary);
border-radius: 12px;
padding: 40px;
text-align: center;
}
.loyalty-program h3 {
font-size: 28px;
color: var(--primary);
margin-bottom: 15px;
}
.loyalty-program p {
max-width: 600px;
margin: 0 auto 25px;
opacity: 0.9;
}
.contacts {
background: white;
}
.contacts-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 60px;
}
.contact-info {
display: flex;
flex-direction: column;
gap: 25px;
}
.contact-item {
display: flex;
gap: 20px;
align-items: flex-start;
}
.contact-icon {
font-size: 32px;
flex-shrink: 0;
}
.contact-item h4 {
font-size: 18px;
color: var(--secondary);
margin-bottom: 8px;
}
.contact-item p {
color: var(--text-light);
line-height: 1.6;
}
.contact-item a {
color: var(--primary);
text-decoration: none;
transition: color 0.3s ease;
}
.contact-item a:hover {
color: var(--primary-dark);
}
.contact-form-wrapper {
background: var(--warm);
padding: 35px;
border-radius: 12px;
border: 1px solid var(--border);
}
.contact-form-wrapper h3 {
font-size: 24px;
color: var(--secondary);
margin-bottom: 25px;
}
.contact-form {
display: flex;
flex-direction: column;
gap: 15px;
}
.contact-form input,
.contact-form textarea {
padding: 14px 18px;
border: 1px solid var(--border);
border-radius: 6px;
font-size: 16px;
font-family: inherit;
background: white;
transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
outline: none;
border-color: var(--primary);
box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1);
}
.contact-form textarea {
resize: vertical;
}
.footer {
background: var(--dark);
color: var(--light);
text-align: center;
padding: 30px 0;
}
.footer p {
opacity: 0.8;
}
.footer-note {
margin-top: 10px;
font-style: italic;
color: var(--primary);
}
@media (max-width: 968px) {
.about-grid,
.contacts-grid {
grid-template-columns: 1fr;
}
.nav-links {
gap: 15px;
}
.hero h1 {
font-size: clamp(36px, 8vw, 64px);
}
.features {
flex-direction: column;
}
}
@media (max-width: 640px) {
.nav {
flex-direction: column;
gap: 15px;
}
.nav-links {
flex-wrap: wrap;
justify-content: center;
}
.menu-item {
padding: 20px;
}
.item-header {
flex-direction: column;
align-items: flex-start;
gap: 8px;
}
.promo-grid {
grid-template-columns: 1fr;
}
}