body {
    margin: 0;
    font-family: Arial;
    background: #f6f6f6;
}

/* header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 60px;
}

.nav a {
    margin: 0 15px;
    text-decoration: none;
    color: #333;
}

/* hero */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px;
}

.hero-text h1 {
    font-size: 48px;
}

.hero-text p {
    color: gray;
    margin-bottom: 20px;
}

.hero-image img {
    width: 350px;
    border-radius: 20px;
}


.services {
    padding: 80px 60px;
    background: #f9f9f9;
}

.services h1 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
}


.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}


.card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
}

/* картинка */
.card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: 0.5s;
}


.card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
}


.card h3 {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    font-size: 20px;
    z-index: 2;
}


.card:hover img {
    transform: scale(1.1);
}


body {
    font-family: 'Montserrat', sans-serif;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 60px;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #800020;
}


.nav a {
    margin: 0 20px;
    text-decoration: none;
    color: #333;
    position: relative;
    font-weight: 500;
}


.nav a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    background: #800020;
    left: 0;
    bottom: -5px;
    transition: 0.3s;
}

.nav a:hover {
    color: #800020;
}

.nav a:hover::after {
    width: 100%;
}

.btn-main {
    background: linear-gradient(135deg, #800020, #a8324a);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s;
}


.btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(128, 0, 32, 0.3);
}

body {
    background: #faf7f8;
}

/* ABOUT */
.about {
    padding: 15px 60px;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
}


.about-image img {
    width: 380px;
    border-radius: 20px;
}


.about-text {
    max-width: 500px;
}

.about-text h1 {
    font-size: 36px;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
    color: #555;
}

/* галерея */
.gallery {
    padding: 20px 60px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.gallery-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    transition: 0.3s;
}

.gallery-grid img:hover {
    transform: scale(1.05);
}

.btn-hero {
    background: linear-gradient(135deg, #800020, #b03a5b);
    color: white;
    border: none;
    padding: 14px 34px;
    font-size: 16px;
    border-radius: 40px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}

.btn-hero {
    background: transparent;
    color: #800020;
    border: 2px solid #800020;
    padding: 14px 36px;
    font-size: 16px;
    border-radius: 40px;
    cursor: pointer;
    transition: 0.3s;
}


.btn-hero:hover {
    background: #800020;
    color: white;
    box-shadow: 0 10px 25px rgba(128, 0, 32, 0.3);
    transform: translateY(-2px);
}


.team {
    padding: 80px 60px;
}

.team h2 {
    font-size: 28px;
    margin-bottom: 40px;
    position: relative;
}


.team h2::after {
    content: "";
    width: 60px;
    height: 2px;
    background: #800020;
    display: block;
    margin-top: 10px;
}

/* сетка */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}


.member {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}


.member img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}


.member::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}


.info {
    position: absolute;
    bottom: 15px;
    left: 15px;
    color: white;
    z-index: 2;
}

.info h3 {
    margin: 0;
    font-size: 16px;
}

.info p {
    margin: 3px 0 0;
    font-size: 13px;
    opacity: 0.8;
}


.member:hover img {
    transform: scale(1.05);
    transition: 0.4s;
}

.slider {
    overflow: hidden;
}

.team-track {
    display: flex;
    gap: 20px;
    transition: 0.5s;
}


.member {
    min-width: calc((100% - 60px) / 4);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.member img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

/* затемнение */
.member::after {
    content: "";
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

/* текст */
.info {
    position: absolute;
    bottom: 15px;
    left: 15px;
    color: white;
    z-index: 2;
}

/* стрелки снизу */
.controls {
    display: flex;
    
    gap: 20px;
    margin-top: 20px;
}

.controls button {
    background: none;
    border: 1px solid #ccc;
    font-size: 18px;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    transition: 0.3s;
}


.controls button:hover {
    background: #800020;
    color: white;
    border-color: #800020;
}

.footer {
    background-color: #800020; 
    color: #fff; 
    text-align: center; 
    padding: 40px 0; 
    font-size: 18px;
    font-weight: bold;
}

.footer p {
    margin: 0; 
}

.booking {
    padding: 80px 20px;
    text-align: center;
}

.booking h2 {
    margin-bottom: 30px;
}

.booking-form {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.booking-form input,
.booking-form select {
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 14px;
}

/* кнопка */
.btn-book {
    background: #800020;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-book:hover {
    background: #a8324a;
}

.btn-hero {
    text-decoration: none;
    display: inline-block;
}

.btn-main {
    text-decoration: none;
    display: inline-block;
}

.service-page {
    padding: 60px;
}

.service-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

/* картинка */
.service-img {
    width: 400px;
    border-radius: 20px;
}

/* текст */
.service-text {
    max-width: 500px;
}

.service-text h2 {
    margin-bottom: 15px;
}

.service-text ul {
    margin: 10px 0;
}

.price {
    font-size: 22px;
    color: #800020;
    font-weight: bold;
}

.member-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.master-content {
    display: flex;
    gap: 40px;
    padding: 60px;
    align-items: center;
}

.master-img {
    width: 300px;
    border-radius: 20px;
}

.master-text h2 {
    margin-bottom: 10px;
}

.master-text ul {
    margin: 15px 0;
}

.master-text li {
    margin-bottom: 5px;
}

.auth{
    display:flex;
    justify-content:center;
    align-items:center;
    height:80vh;
}

.auth-box{
    width:400px;
    background:white;
    padding:40px;
    border-radius:20px;
    box-shadow:0 0 20px rgba(0,0,0,0.1);
}

.auth-box h2{
    text-align:center;
    margin-bottom:30px;
    color:#6d0f1b;
}

.auth-box form{
    display:flex;
    flex-direction:column;
    gap:15px;
}

.auth-box input{
    padding:15px;
    border:1px solid #ccc;
    border-radius:10px;
    font-size:16px;
}

.auth-btn{
    background:#6d0f1b;
    color:white;
    border:none;
    padding:15px;
    border-radius:10px;
    cursor:pointer;
    font-size:16px;
    transition:0.3s;
}

.auth-btn:hover{
    background:#8a1b2b;
}

.auth-link{
    text-align:center;
    margin-top:20px;
}

.auth-link a{
    color:#6d0f1b;
    text-decoration:none;
    font-weight:bold;
}

.account{
    display:flex;
    justify-content:center;
    padding:50px;
}

.account-box{
    width:600px;
}

.booking-card{
    background:white;
    padding:20px;
    border-radius:15px;
    margin-top:20px;
    box-shadow:0 0 10px rgba(0,0,0,0.1);
}

.booking-card p{
    margin:10px 0;
}




