@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@500;700&display=swap');

* {
    margin: 0%;
    padding: 0%;
}

/* === ABOUT HEADER === */
.about-header {
    width: 100%;
    height: 50vh;
    position: relative;
    background: url("../images/samarjitroy_Herosection_image.jpg") fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Teal overlay */
.about-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 13, 14, 0.178);
    /* same teal tone */
    z-index: 1;
}



/* Content Container */
.about-content {
    position: relative;
    z-index: 3;
    text-align: center;
}

/* Text */
.about-content h1 {
    color: #5e1a14;
    font-size: 7rem;
    font-family: "Playfair Display", serif;
    letter-spacing: 2px;
}

.about-content p {
    font-family: "Merriweather", serif;
    color: #ab3646;
    font-size: 1.8rem;
}


.author-section {
    padding: 7pc 10%;
    font-family: "Merriweather", serif;
    background: #ffffff;
}

/* Headings */
.author-intro-headings {
    text-align: center;
    margin-bottom: 60px;
}

.author-intro-headings h2 {
    font-family: "Playfair Display", serif;
    font-size: 3rem;
    color: #333;
    font-weight: 500;
    margin-bottom: 5px;
}

.author-intro-headings .cursive-text {
    font-family: 'Dancing Script', cursive;
    font-size: 3.5rem;
    color: #ab3646;
    font-weight: 500;
    margin-bottom: 5px;
}

.author-intro-headings h4 {
    font-family: "Playfair Display", serif;
    font-size: 2.2rem;
    color: #444;
    font-weight: 400;
}

.author-wrapper {
    display: flex;
    gap: 80px;
    justify-content: center;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

/* LEFT SIDE - Polaroid Image */
.author-left {
    position: relative;
    flex-shrink: 0;
}

.author-img-box {
    width: 340px;
    background: #fff;
    padding: 15px 15px 60px 15px;
    /* Polaroid bottom */
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.15);
    transform: rotate(-3deg);
    position: relative;
    z-index: 2;
    border: none;
}

.author-img-box img {
    width: 100%;
    display: block;
    filter: sepia(0.15) contrast(1.1);
    /* Slight vintage feel */
}

/* Tapes */
.tape {
    position: absolute;
    width: 130px;
    height: 40px;
    background: rgb(252 231 207);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10;
}

.tape-top {
    top: -10px;
    right: -40px;
    transform: rotate(35deg);
}

.tape-bottom {
    bottom: 30px;
    left: -50px;
    transform: rotate(-25deg);
}

/* RIGHT SIDE CONTENT */
.author-right {
    max-width: 550px;
}

.author-right p {
    line-height: 1.8;
    font-size: 17px;
    color: #444;
}

/* QUOTE BOX - Torn Paper */
.author-quote-box {
    background: #fce7cf;
    padding: 60px 70px;
    margin: 80px auto 20px auto;
    max-width: 800px;
    text-align: center;
    position: relative;
    transform: rotate(1deg);
    /* Realistic Torn Paper Effect on all 4 sides */
    clip-path: polygon(1% 3%, 6% 0%, 12% 4%, 18% 1%, 25% 5%, 32% 0%, 40% 3%, 48% 1%, 55% 5%, 62% 0%, 70% 4%, 78% 1%, 85% 5%, 92% 0%, 99% 3%,
            100% 12%, 98.5% 20%, 99.5% 28%, 98.5% 38%, 100% 48%, 99% 58%, 100% 68%, 98.5% 78%, 99.5% 88%, 99% 97%,
            92% 100%, 85% 96%, 78% 99%, 70% 95%, 62% 100%, 55% 96%, 48% 99%, 40% 95%, 32% 100%, 25% 96%, 18% 99%, 12% 95%, 6% 100%, 1% 97%,
            0% 88%, 1.5% 78%, 0.5% 68%, 1.5% 58%, 0% 48%, 1% 38%, 0% 28%, 1.5% 20%, 0.5% 12%);
    filter: drop-shadow(0px 5px 15px rgba(0, 0, 0, 0.08));
}

.author-quote-box p {
    font-family: "Playfair Display", serif;
    font-size: 24px;
    line-height: 1.6;
    color: #000000;
    font-style: italic;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .author-section {
        padding: 40px 0px 10pc 10px;
        font-family: "Merriweather", serif;
    }

    .author-intro-headings h2 {
        font-size: 2rem;
    }

    .author-intro-headings .cursive-text {
        font-size: 2.5rem;
    }

    .author-intro-headings h4 {
        font-size: 1.2rem;
    }

    .author-quote-box {
        background: #fce7cf;
        padding: 60px 10px;
    }

    .author-quote-box p {
        font-size: 20px;
    }

    .author-img-box {
        width: 280px;
    }

    .author-right {
        text-align: center;
    }

    .author-right h1 {
        font-size: 35px;
    }

    .author-right h4 {
        font-size: 15px;
    }

    .author-right p {
        padding: 15px;
        font-size: 15px;
    }

    .author-wrapper {
        align-items: center;
        flex-direction: column;
    }

    .follow-box {
        position: relative;
        left: 0;
        bottom: 0;
        margin-top: -40px;
    }

    .about-content h1 {
        font-size: 5rem;
    }

    .tape-bottom,
    .tape-top {
        display: none;
    }
}

/* RESPONSIVE */
@media (min-width: 901px) and (max-width: 1025px) {
    .author-section {
        padding: 80px 50px 10pc 50px;
        font-family: "Merriweather", serif;
    }

    .author-img-box {
        width: 280px;
    }

    .author-right {
        padding: 5pc 0px 0px 0px;
        /* text-align: center; */
    }

    .author-right h1 {
        font-size: 35px;
    }

    .author-right h4 {
        font-size: 15px;
    }

    .author-right p {
        font-size: 20px;
    }

    .author-wrapper {
        flex-wrap: nowrap;

    }

    .follow-box {
        position: relative;
        left: 0;
        bottom: 0;
        margin-top: -40px;
        left: 80px;
    }
}

/* RESPONSIVE */
@media (min-width: 1026px) and (max-width: 1440px) {
    .author-section {
        padding: 80px 10px 20pc 10pc;
        font-family: "Merriweather", serif;
    }


    .author-right {
        padding: 5pc 0px 0px 0px;
        /* text-align: center; */
    }

    .follow-box {
        position: relative;
        left: 0;
        bottom: 0;
        margin-top: -40px;
        left: 180px;
    }

    .about-header {
        height: 60vh;
    }

    .about-content h1 {
        font-size: 4rem;
    }

    .about-content p {
        font-size: 0.8rem;
    }


}