Загрузка данных
/* CSS Variables — тёмная рок-тематика */
:root {
--bg-dark: #0a0a0a;
--bg-card: #1a1a1a;
--primary: #b83b5e;
--accent: #f08a5d;
--text-light: #f0f0f0;
--text-muted: #aaa;
--transition: 0.3s ease;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Poppins', 'Segoe UI', sans-serif;
background: var(--bg-dark);
color: var(--text-light);
line-height: 1.6;
}
/* Header */
header {
background: #111;
padding: 1rem 2rem;
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
border-bottom: 2px solid var(--primary);
}
.logo {
font-size: 1.8rem;
font-weight: bold;
letter-spacing: 2px;
}
.nav-links {
display: flex;
gap: 1.5rem;
list-style: none;
}
.nav-links a {
color: var(--text-light);
text-decoration: none;
transition: var(--transition);
}
.nav-links a:hover {
color: var(--accent);
}
.burger {
display: none;
font-size: 2rem;
cursor: pointer;
}
/* Hero секция */
.hero {
background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/band-hero.jpg');
background-size: cover;
background-position: center;
height: 70vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
}
.hero h1 {
font-size: 4rem;
margin-bottom: 1rem;
}
.btn {
display: inline-block;
background: var(--primary);
padding: 0.8rem 2rem;
margin-top: 1rem;
border-radius: 50px;
text-decoration: none;
color: white;
font-weight: bold;
transition: transform 0.2s, background 0.2s;
}
.btn:hover {
background: var(--accent);
transform: scale(1.05);
}
/* Карточки */
.features, .music-grid, .blog-grid {
display: flex;
flex-wrap: wrap;
gap: 2rem;
justify-content: center;
padding: 3rem 2rem;
}
.feature-card, .music-card, .blog-card {
background: var(--bg-card);
border-radius: 20px;
padding: 1.5rem;
width: 300px;
text-align: center;
transition: 0.2s;
}
.feature-card img, .music-card img, .blog-card img {
width: 100%;
border-radius: 12px;
height: 200px;
object-fit: cover;
}
/* Страница "О группе" */
.about-content {
display: flex;
flex-wrap: wrap;
gap: 2rem;
max-width: 1000px;
margin: 2rem auto;
padding: 0 1rem;
}
.about-content img {
width: 100%;
max-width: 400px;
border-radius: 20px;
}
.about-text {
flex: 1;
}
/* Формы */
.form-group {
margin-bottom: 1.2rem;
}
input, textarea, select {
width: 100%;
padding: 0.8rem;
background: #2a2a2a;
border: 1px solid #444;
color: white;
border-radius: 8px;
}
.error {
color: #ff6b6b;
font-size: 0.8rem;
margin-top: 0.2rem;
}
/* Модальное окно */
.modal {
display: none;
position: fixed;
top: 0; left: 0;
width: 100%; height: 100%;
background: rgba(0,0,0,0.8);
justify-content: center;
align-items: center;
z-index: 1000;
}
.modal-content {
background: #1e1e1e;
padding: 2rem;
border-radius: 20px;
max-width: 400px;
text-align: center;
}
.close-modal {
float: right;
font-size: 1.5rem;
cursor: pointer;
}
/* FAQ */
.faq-item {
background: var(--bg-card);
margin: 1rem 0;
padding: 1rem;
border-radius: 12px;
}
/* Footer */
footer {
background: #050505;
text-align: center;
padding: 2rem;
margin-top: 3rem;
border-top: 1px solid var(--primary);
}
footer a {
color: var(--accent);
text-decoration: none;
}
/* Адаптив */
@media (max-width: 768px) {
.nav-links {
display: none;
flex-direction: column;
width: 100%;
text-align: center;
background: #111;
padding: 1rem;
}
.nav-links.active {
display: flex;
}
.burger {
display: block;
}
.hero h1 {
font-size: 2.5rem;
}
.hero {
height: 50vh;
}
}