/* ==========================================================================
   1. ОБЩИЕ НАСТРОЙКИ ОФОРМЛЕНИЯ
   ========================================================================== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f9f6f0; /* Приятный теплый оттенок */
    color: #333;
}

main {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
    text-align: center;
}

.subtitle {
    color: #666;
    font-size: 1.1rem;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

hr {
    border: 0;
    height: 1px;
    background: #e0dcd5;
    margin: 40px 0;
}

/* ==========================================================================
   2. НАВИГАЦИЯ (ШАПКА) И ПОДВАЛ (ФУТЕР)
   ========================================================================== */
header {
    background-color: #2c2520; /* Темно-древесный цвет */
    padding: 15px 0;
}

nav {
    display: flex;
    justify-content: center;
    gap: 20px;
}

nav a {
    color: #f4eae1;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 15px;
    border-radius: 4px;
    transition: background 0.3s;
}

nav a:hover, nav a.active {
    background-color: #d37230; /* Гитарный оранжевый акцент */
}

footer {
    background: #2c2520;
    color: #8c7e74;
    text-align: center;
    padding: 20px 0;
    margin-top: 60px;
}

/* ==========================================================================
   3. ГЛАВНАЯ СТРАНИЦА И КНОПКИ
   ========================================================================== */
.hero img {
    max-height: 400px;
    width: 100%;
    object-fit: cover;
}

.btn {
    display: inline-block;
    background: #d37230;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin: 10px;
    transition: background 0.2s;
}

.btn:hover {
    background: #b55a1e;
}

.btn-secondary {
    background: #4a3f35;
}

.btn-secondary:hover {
    background: #382f28;
}

/* ==========================================================================
   4. СЕТКА (GRID) И КАРТОЧКИ
   ========================================================================== */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.card {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: left;
}

.card img {
    height: 180px;
    width: 100%;
    object-fit: cover;
    margin-top: 0;
}

/* ==========================================================================
   5. СТРАНИЦА: КАК ВЫБРАТЬ ГИТАРУ
   ========================================================================== */
.single-column {
    max-width: 700px;
}

.checklist {
    text-align: left;
    margin-top: 30px;
}

.checklist li {
    margin-bottom: 20px;
    padding-left: 10px;
}

/* ==========================================================================
   6. СТРАНИЦА: ОБУЧЕНИЕ И ТЕОРИЯ
   ========================================================================== */
.learn-section {
    text-align: left;
    margin: 40px 0;
}

.learn-section h2 {
    color: #4a3f35;
    border-left: 5px solid #d37230;
    padding-left: 15px;
    margin-bottom: 15px;
}

.learn-section ul {
    padding-left: 20px;
}

.learn-section li {
    margin-bottom: 8px;
}

/* Список струн */
.strings-list {
    list-style: none;
    padding: 0 !important;
}

.strings-list li {
    background: white;
    margin: 8px 0;
    padding: 10px 15px;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    border-left: 3px solid #2c2520;
}

/* Блок с важной подсказкой (с иконкой лампочки) */
.tip {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
    padding: 15px;
    border-radius: 6px;
    font-style: italic;
    margin: 20px 0;
}

/* Карточки аккордов */
.chord-card {
    border-top: 4px solid #d37230;
    text-align: center;
}

.chord-card h3 {
    margin-top: 0;
    color: #2c2520;
    font-size: 1.4rem;
}
