sozday-sayt-dlya-restorana-k/style.css

665 lines
11 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--beige: #F5F0EB;
--cream: #FFF8F0;
--gold: #C9A962;
--gold-light: #D4BC7C;
--brown: #8B7355;
--brown-dark: #5C4A3A;
--text: #3D3D3D;
--text-light: #6B6B6B;
}
body {
font-family: 'Montserrat', sans-serif;
background: var(--cream);
color: var(--text);
line-height: 1.6;
}
h1, h2, h3, h4 {
font-family: 'Cormorant Garamond', serif;
font-weight: 600;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
.btn {
display: inline-block;
padding: 14px 32px;
font-family: 'Montserrat', sans-serif;
font-size: 14px;
font-weight: 500;
text-decoration: none;
text-transform: uppercase;
letter-spacing: 1px;
border-radius: 0;
cursor: pointer;
transition: all 0.3s ease;
border: none;
}
.btn-primary {
background: var(--gold);
color: #fff;
}
.btn-primary:hover {
background: var(--gold-light);
transform: translateY(-2px);
}
.btn-gold {
background: transparent;
color: var(--gold);
border: 2px solid var(--gold);
}
.btn-gold:hover {
background: var(--gold);
color: #fff;
}
.btn-outline {
background: transparent;
color: var(--brown-dark);
border: 2px solid var(--brown-dark);
}
.btn-outline:hover {
background: var(--brown-dark);
color: #fff;
}
.header {
position: fixed;
top: 0;
left: 0;
right: 0;
background: rgba(255, 248, 240, 0.98);
backdrop-filter: blur(10px);
z-index: 1000;
box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}
.header-inner {
display: flex;
justify-content: space-between;
align-items: center;
padding: 18px 20px;
}
.logo {
display: flex;
align-items: center;
gap: 10px;
font-family: 'Cormorant Garamond', serif;
font-size: 28px;
font-weight: 700;
color: var(--brown-dark);
}
.logo-icon {
color: var(--gold);
font-size: 32px;
}
.nav {
display: flex;
gap: 32px;
}
.nav a {
color: var(--brown-dark);
text-decoration: none;
font-size: 14px;
font-weight: 500;
text-transform: uppercase;
letter-spacing: 0.5px;
transition: color 0.3s ease;
}
.nav a:hover {
color: var(--gold);
}
.hero {
position: relative;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}
.hero-bg {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(135deg, rgba(139, 115, 85, 0.8), rgba(92, 74, 58, 0.9)),
url('https://picsum.photos/seed/kazakh-restaurant/1920/1080') center/cover;
}
.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;
text-align: center;
color: #fff;
padding: 60px 20px;
}
.hero-content h1 {
font-size: clamp(48px, 8vw, 96px);
margin-bottom: 20px;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
letter-spacing: 3px;
}
.hero-subtitle {
font-size: clamp(18px, 2.5vw, 24px);
font-weight: 300;
margin-bottom: 40px;
opacity: 0.95;
}
.hero-buttons {
display: flex;
gap: 20px;
justify-content: center;
flex-wrap: wrap;
}
.ornament {
display: block;
width: 200px;
height: 40px;
margin: 30px auto;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40'%3E%3Cpath d='M0,20 Q25,0 50,20 T100,20 T150,20 T200,20' fill='none' stroke='%23C9A962' stroke-width='2'/%3E%3Ccircle cx='50' cy='20' r='4' fill='%23C9A962'/%3E%3Ccircle cx='100' cy='20' r='4' fill='%23C9A962'/%3E%3Ccircle cx='150' cy='20' r='4' fill='%23C9A962'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: center;
opacity: 0.8;
}
.history {
padding: 100px 0;
background: var(--cream);
}
.history-content {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 60px;
align-items: center;
}
.history-text p {
color: var(--text-light);
margin-bottom: 20px;
font-size: 16px;
line-height: 1.8;
}
.history-image {
position: relative;
}
.history-image img {
width: 100%;
height: auto;
border-radius: 8px;
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}
.about {
padding: 100px 0;
background: var(--beige);
}
.about-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 60px;
align-items: center;
}
.about-text h2 {
font-size: 42px;
color: var(--brown-dark);
margin-bottom: 24px;
}
.about-text p {
color: var(--text-light);
margin-bottom: 20px;
font-size: 16px;
}
.features {
display: flex;
gap: 30px;
margin-top: 40px;
}
.feature {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}
.feature-icon {
font-size: 36px;
margin-bottom: 10px;
}
.feature span:last-child {
font-size: 14px;
color: var(--brown-dark);
font-weight: 500;
}
.image-frame {
position: relative;
padding: 20px;
background: var(--gold);
border-radius: 4px;
}
.image-frame img {
width: 100%;
height: auto;
display: block;
border-radius: 2px;
}
.menu {
padding: 100px 0;
background: var(--cream);
}
.section-title {
text-align: center;
font-size: 48px;
color: var(--brown-dark);
margin-bottom: 12px;
}
.section-subtitle {
text-align: center;
color: var(--text-light);
font-size: 18px;
margin-bottom: 50px;
}
.menu-categories {
display: flex;
justify-content: center;
gap: 12px;
margin-bottom: 50px;
flex-wrap: wrap;
}
.category-btn {
padding: 12px 28px;
background: transparent;
border: 2px solid var(--gold);
color: var(--brown-dark);
font-family: 'Montserrat', sans-serif;
font-size: 14px;
font-weight: 500;
cursor: pointer;
transition: all 0.3s ease;
}
.category-btn:hover,
.category-btn.active {
background: var(--gold);
color: #fff;
}
.menu-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
gap: 30px;
}
.menu-item {
background: #fff;
border-radius: 8px;
padding: 30px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
transition: transform 0.3s ease, box-shadow 0.3s ease;
border: 2px solid transparent;
position: relative;
overflow: hidden;
}
.menu-item::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
height: 6px;
background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}
.menu-item:hover {
transform: translateY(-5px);
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
border-color: var(--gold);
}
.menu-item-content {
padding: 0;
}
.menu-item-ornament {
width: 60px;
height: 60px;
margin: 0 auto 20px;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 60'%3E%3Cpath d='M30,5 C35,5 40,10 40,15 C40,20 35,25 30,30 C25,25 20,20 20,15 C20,10 25,5 30,5 Z M30,35 C35,35 40,40 40,45 C40,50 35,55 30,55 C25,55 20,50 20,45 C20,40 25,35 30,35 Z' fill='%23C9A962' opacity='0.3'/%3E%3Ccircle cx='30' cy='15' r='3' fill='%23C9A962'/%3E%3Ccircle cx='30' cy='45' r='3' fill='%23C9A962'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: center;
}
.menu-item-title {
font-family: 'Cormorant Garamond', serif;
font-size: 22px;
color: var(--brown-dark);
margin-bottom: 10px;
font-weight: 600;
}
.menu-item-desc {
color: var(--text-light);
font-size: 14px;
margin-bottom: 12px;
line-height: 1.6;
}
.menu-item-ingredients {
color: var(--brown);
font-size: 13px;
margin-bottom: 16px;
font-style: italic;
}
.menu-item-footer {
display: flex;
justify-content: space-between;
align-items: center;
}
.menu-item-price {
font-family: 'Cormorant Garamond', serif;
font-size: 24px;
color: var(--gold);
font-weight: 700;
}
.menu-item-weight {
color: var(--text-light);
font-size: 13px;
}
.reviews {
padding: 100px 0;
background: var(--beige);
}
.reviews-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
gap: 30px;
margin-top: 50px;
}
.review-card {
background: #fff;
padding: 30px;
border-radius: 8px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
transition: transform 0.3s ease, box-shadow 0.3s ease;
border-top: 4px solid var(--gold);
}
.review-card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}
.review-stars {
color: var(--gold);
font-size: 20px;
margin-bottom: 16px;
letter-spacing: 4px;
}
.review-card p {
color: var(--text-light);
line-height: 1.8;
margin-bottom: 20px;
font-style: italic;
font-size: 15px;
}
.review-author {
display: block;
color: var(--brown-dark);
font-weight: 600;
font-size: 14px;
text-align: right;
}
.gallery {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
margin-top: 50px;
}
.gallery-item {
border-radius: 8px;
overflow: hidden;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
background: #fff;
}
.gallery-item.large {
grid-column: span 2;
grid-row: span 2;
}
.gallery-item img {
width: 100%;
height: 250px;
object-fit: cover;
transition: transform 0.4s ease;
}
.gallery-item:hover img {
transform: scale(1.05);
}
.review {
padding: 20px;
background: #fff;
border-top: 3px solid var(--gold);
}
.review p {
font-style: italic;
color: var(--text-light);
margin-bottom: 12px;
line-height: 1.6;
font-size: 14px;
}
.review span {
display: block;
color: var(--brown-dark);
font-weight: 600;
font-size: 14px;
}
.contact {
padding: 100px 0;
background: var(--cream);
}
.contact-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 60px;
}
.contact-info h2 {
font-size: 42px;
color: var(--brown-dark);
margin-bottom: 40px;
}
.contact-item {
display: flex;
gap: 20px;
margin-bottom: 30px;
}
.contact-icon {
font-size: 32px;
}
.contact-item strong {
display: block;
color: var(--brown-dark);
font-size: 16px;
margin-bottom: 6px;
}
.contact-item p {
color: var(--text-light);
font-size: 16px;
}
.reservation-form {
background: #fff;
padding: 40px;
border-radius: 8px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.reservation-form h3 {
font-size: 28px;
color: var(--brown-dark);
margin-bottom: 30px;
}
.reservation-form input,
.reservation-form select,
.reservation-form textarea {
width: 100%;
padding: 14px 18px;
margin-bottom: 16px;
border: 2px solid var(--beige);
background: var(--beige);
font-family: 'Montserrat', sans-serif;
font-size: 15px;
color: var(--text);
border-radius: 4px;
resize: vertical;
}
.reservation-form input:focus,
.reservation-form select:focus,
.reservation-form textarea:focus {
outline: none;
border-color: var(--gold);
}
.reservation-form .btn {
width: 100%;
}
.footer {
background: var(--brown-dark);
color: var(--beige);
padding: 40px 0;
}
.footer-inner {
display: flex;
justify-content: space-between;
align-items: center;
}
.footer-logo {
display: flex;
align-items: center;
gap: 10px;
font-family: 'Cormorant Garamond', serif;
font-size: 24px;
font-weight: 700;
}
.footer-logo .logo-icon {
color: var(--gold);
}
.footer-inner p {
opacity: 0.7;
font-size: 14px;
}
@media (max-width: 768px) {
.nav {
display: none;
}
.history-content,
.about-grid,
.contact-grid {
grid-template-columns: 1fr;
}
.gallery {
grid-template-columns: 1fr;
}
.gallery-item.large {
grid-column: span 1;
grid-row: span 1;
}
.features {
flex-direction: column;
gap: 20px;
}
.footer-inner {
flex-direction: column;
gap: 20px;
text-align: center;
}
}