* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Шапка */
.header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    padding: 1rem 5%;
    background-image: url("img/shapka.jpg");
    background-repeat: no-repeat;
    background-position: left;
    background-size: cover;
    border-bottom: 1px solid #ddd;
    top: 0;
    z-index: 100;
    height: 300px
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: #e8d5c4;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav {
    display: flex;
    align-items: center;
}

.menu {
    display: flex;
    list-style: none;
    gap: 1rem;
    background: #f9f9f9;
    padding: 8px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #ddd;
    align-items: center;
}

.menu a {
    text-decoration: none;
    color: #333;
    transition: background 0.3s;
    background: #e8d5c4;
    padding: 8px;
    border-radius: 8px;
}

.menu a:hover {
    background: #b3987f;
}

.search-box input {
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 200px;
}

/* Основной контент */
.main {
    max-width: 1200px;
    margin: 20px auto;
    padding: 2rem 5%;
    border: 1px solid #ddd;
    border-radius: 10px;
}

.main h2 {
    border-bottom: 2px solid #b3987f;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.hero {
    text-align: center;
    padding: 3rem 0;
}

.profile-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #e8d5c4;
}

.hero h1 {
    margin: 1rem 0;
    font-size: 2.5rem;
}

.sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.section-card {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
    border-radius: 10px;
}

/* Услуги */
.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
}

.service-item {
    background: #f9f9f9;
    padding: 1.5rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border: 1px solid #aaa;
    border-radius: 10px;
}

.service-details {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}

/* Проекты */
.projects h2 {
    border-bottom: 2px solid #b3987f;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
}

.project-card {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    justify-items: center;
    align-items: end;
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 1.5rem;
    border: 1px solid #ccc;
    border-radius: 15px;
}

.project-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: top;
    border-radius: 10px;
    margin-bottom: 1rem;
}

/* Гайды */
.guides h2 {
    border-bottom: 2px solid #b3987f;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.guide-list {
    margin-top: 2rem;
}

.guide-item {
    background: #f9f9f9;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.guide-item ul {
    list-style: none;
    padding-left: 0;
}

.guide-item li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.guide-item a {
    color: #007bff;
    text-decoration: none;
}

.guide-item a:hover {
    text-decoration: underline;
}

/* Контакты */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    text-align: center;
}

.contact-item h3 {
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: #333;
    text-decoration: none;
}

.social-links a {
    color: #007bff;
    text-decoration: none;
}

.social-links a:hover {
    text-decoration: underline;
}

/* Форма обратной связи */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

/* Кнопки */
.btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: #e8d5c4;
    color: black;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.3s;
}

.btn:hover {
    background: #b3987f;
}
