:root {
    --pale-pink: #f9edef;
    --dark-pink: #DB7093;
    --accent-pink: #C2185B;
    --text-color: #000000;
    --book-cover-shadow: 10px 10px 12px rgba(0, 0, 0, 0.4);
}

body {
    background-color: var(--pale-pink);
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    width: 100vw;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 0 5%;
    box-sizing: border-box;
}

.hero-title-container {
    width: 100%;
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-title {
    font-family: 'Oswald', sans-serif;
    font-size: 28vw;
    margin: 0;
    color: #b9908f;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -1px;
    text-transform: uppercase;
    opacity: 0.15;
}

.hero-overlay {
    font-family: 'Instrument Serif';
    position: absolute;
    top: 55%;
    left: 30%;
    transform: translate(-50%, -50%);
    font-size: 1.5vw;
    color: #5b1823;
    font-weight: 100;
    width: 40%;
    opacity: 0.9;
    z-index: 4;
    text-align: justify;
    text-indent: 2em;
}

.hero-overlay1 {
    font-family: 'Arimo', sans-serif;
    position: absolute;
    top: 55%;
    left: 78%;
    transform: translate(-50%, -50%);
    font-size: 1.5vw;
    color: var(--text-color);
    font-weight: 100;
    width: 40%;
    opacity: 0.9;
    z-index: 4;
    text-align: left;
}

.coperta {
    width: 400px;
    height: auto;
    box-shadow: var(--book-cover-shadow);
}

.hero-image {
    position: absolute;
    right: 5%;
    width: 45%;
    height: 80%;
    background-image: url('book-image.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
    opacity: 0.9;
}

/* Sections */
.section1 {
    padding: 6rem 5%;
    margin-top: 104px;
}

.section {
    padding: 6rem 5%;
    margin-top: 8px;
}

/* Carousel Styles */
.about-title {
    font-size: 7.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    position: absolute;
    top: 45px;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none;
    white-space: nowrap;
    font-family: "Arial Black", "Arial Bold", Arial, sans-serif;
    background: linear-gradient(
        to bottom,
        rgb(91 24 35 / 35%) 30%,
        rgb(91 24 35 / 0%) 76%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.carousel-container {
    width: 100%;
    max-width: 1200px;
    height: 450px;
    position: relative;
    perspective: 1000px;
    margin-top: 80px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.carousel-track {
    width: 100%;
    margin-top: 200px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card {
    position: absolute;
    width: 280px;
    height: 380px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card.center {
    z-index: 10;
    transform: scale(1.1) translateZ(0);
}

.card.center img {
    filter: none;
}

.card.left-2 {
    z-index: 1;
    transform: translateX(-400px) scale(0.8) translateZ(-300px);
    opacity: 0.7;
}

.card.left-1 {
    z-index: 5;
    transform: translateX(-200px) scale(0.9) translateZ(-100px);
    opacity: 0.9;
}

.card.right-1 {
    z-index: 5;
    transform: translateX(200px) scale(0.9) translateZ(-100px);
    opacity: 0.9;
}

.card.right-2 {
    z-index: 1;
    transform: translateX(400px) scale(0.8) translateZ(-300px);
    opacity: 0.7;
}

.card.hidden {
    opacity: 0;
    pointer-events: none;
}

.dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 60px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(91, 24, 35, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: rgb(91, 24, 35);
    transform: scale(1.2);
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(91, 24, 35, 0.6);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
    font-size: 1.5rem;
    border: none;
    outline: none;
    padding-bottom: 4px;
}

.nav-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.nav-arrow.left {
    left: 20px;
    padding-right: 3px;
}

.nav-arrow.right {
    right: 20px;
    padding-left: 3px;
}

/* Author Section */
.author-section {
    display: flex;
    align-items: center;
    max-width: 800px;
    margin-left: 100px;
    position: relative;
}

.author-image {
    flex: 0 0 300px;
    overflow: hidden;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-text {
    flex: 1;
    font-size: 1.5vw;
    color: #5b1823;
    font-family: 'Outfit', sans-serif;
    width: 80%;
    max-width: 380px;
    margin: 0 auto;
    line-height: 1.3;
    letter-spacing: -0.3px;
    text-align: left;
    text-justify: inter-word;
}

/* Poem Section */
.poem-section {
    display: flex;
    align-items: center;
    gap: 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.poem {
    flex: 1;
    font-size: 1.2rem;
    line-height: 0.8;
    position: relative;
    padding-left: 2rem;
    color: #5b1823;
    font-size: 1.5vw;
}

.poem:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--pale-pink), var(--dark-pink), var(--pale-pink));
}

.poem-line {
    font-style: italic;
    font-family: 'Instrument Serif', serif;
}

.poem-signature {
    font-family: 'Outfit', sans-serif;
}

.poem-image {
    flex: 0 0 400px;
    height: 500px;
}

.poem-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer */
.site-footer {
    background-color: #5b1823;
    color: #f8f1e5;
    font-family: 'Outfit', sans-serif;
    text-align: center;
    padding: 20px;
}

.copyright {
    margin-top: 20px;
}

.poem-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

/* Stiluri pentru ecrane mai mici (telefon) */
@media (max-width: 768px) {
    .poem-section {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem 1rem;
    }

    .poem {
        font-size: 4.5vw;
        padding-left: 1rem;
    }

    .poem-image {
        width: 100%;
        height: auto;
        max-height: 500px;
    }

    .poem-image img {
        width: 50%;
        height: auto;
        object-fit: cover;
    }
}
.order-button {
    position: absolute;
    top: -35px;
    left: 30%;
    transform: translateX(-50%);
    background-color: rgb(91, 24, 35);
    color: #fff;
    padding: 12px 28px;
    border: none;
    border-radius: 40px;
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    z-index: 5;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.order-button:hover {
    background-color: #3d0e15;
    transform: translateX(-50%) scale(1.05);
}
