@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=Montserrat:wght@300;400;600&display=swap');

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #000;
    color: #fff;
    text-align: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23222' fill-opacity='0.2' fill-rule='evenodd'%3E%3Cpath d='M0 60L60 0H30L0 30M60 60V30L30 60'/%3E%3C/g%3E%3C/svg%3E");
    background-attachment: fixed;
}

header {
    background: linear-gradient(45deg, #000000, #1a1a1a);
    color: white;
    padding: 40px 0;
    box-shadow: 0 2px 15px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.header-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    z-index: 1;
    filter: grayscale(100%) contrast(120%);
}

h1 {
    margin: 20px 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 3em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

main {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: #fff;
    color: #000;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 30px;
    box-shadow: 0 4px 6px rgba(255, 255, 255, 0.1);
}

.btn:hover, .btn:focus {
    background-color: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(255, 255, 255, 0.2);
}

.scissors {
    width: 80px;
    height: 80px;
    fill: white;
    filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.3));
    margin-bottom: 20px;
}

h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2em;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

p {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 30px;
    color: #ccc;
}

.highlight {
    color: #fff;
    font-weight: 600;
}

.divider {
    width: 50px;
    height: 2px;
    background-color: #fff;
    margin: 30px auto;
}

#book-button {
    cursor: pointer; /* Изменяет курсор на указатель при наведении */
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.2em;
    }

    .scissors {
        width: 60px;
        height: 60px;
    }

    .btn {
        font-size: 1em;
        padding: 12px 24px;
    }

    h2 {
        font-size: 1.8em;
    }

    p {
        font-size: 1em;
    }
}

/* Слайдер */
.slider-container {
    position: relative;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.slider {
    display: flex;
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    background: #f0f0f0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Кнопки навигации */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 16px 20px;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    transition: background 0.3s;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: rgba(0,0,0,0.8);
}

.prev {
    left: 16px;
}

.next {
    right: 16px;
}

/* Индикаторы (точки) */
.slider-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: #fff;
    transform: scale(1.2);
}

/* Адаптивность */
@media (max-width: 768px) {
    .slider-btn {
        padding: 10px 14px;
        font-size: 18px;
        width: 40px;
        height: 40px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .slider-dots {
        gap: 8px;
        bottom: 16px;
    }
}

@media (max-width: 480px) {
    .slider-btn {
        padding: 6px 10px;
        font-size: 14px;
        width: 32px;
        height: 32px;
    }

    .prev {
        left: 8px;
    }
    .next {
        right: 8px;
    }
}

/* Подписи на слайдах */
.slide-caption {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
    white-space: nowrap;
    z-index: 5;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .slide-caption {
        font-size: 14px;
        padding: 8px 16px;
        bottom: 70px;
        white-space: normal;
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .slide-caption {
        font-size: 12px;
        padding: 6px 12px;
        bottom: 60px;
        border-radius: 20px;
    }
}
