/* COLORS */
:root {
    --primary-color: #D9382B;
    --secondary-color: #f5f5f5;
    --accent-color: #d9736c;
    --black: #272542;
    --white: #FEFEFF;
    --gray: gray;
    --bg-color: #f6f4f0;
    --yellow: #FCFF72;
}

body {
    margin: 0;
    padding: 0;
}


main {
    margin-top: 50px;
}

/* TABS SECTION */

.tabsSect button:active {
    background-color: var(--primary-color);
    color: var(--white);
}

.tabsSect {
    display: flex;
    gap: 50px;
    height: max-content;
    padding: 50px 100px 20px;
    margin-top: -25px;
    flex-direction: row;
    width: calc(100% - 200px);
}

.tabsSect button,
.projectListSect button {
    width: max-content;
}

#creativeSubcats,
#projectSubcats,
.projectListSect {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.projectListSect {
    padding: 0px 100px 20px;
}

.projectListSect button {
    padding: 10px;
    transition: all 0.3s ease;
}

.projectListSect button.active,
.projectListSect button:hover {
    background-color: var(--white);
    color: var(--black);
}

@media (max-width: 768px) {
    .tabsSect {
        flex-direction: column;
        gap: 20px;
        width: calc(100% - 40px);
        margin-top: 0px;
        padding: 20px 20px 20px;
    }

    .paginationSect button,
    .tabsSect button {
        padding: 10px;
    }

    .projectListSect {
        padding: 0px 20px 20px;
    }

    .paginationSect {
        padding: 25px 100px 25px;
    }
}


/* 2SECTIONS SECTION */
.sectCont {
    background-color: #272542;
    flex-grow: 1;
    position: relative;
    /* background-image: url('your-image.jpg'); */
    background-size: cover;
    background-position: center;
    z-index: 0;
    padding-bottom: 100px;
}

/* Dark overlay + blur */
.bgOverlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1;
}

/* PAGINATION SECTION */
.paginationSect {
    width: calc(100% - 200px);
    padding: 50px 100px 25px;
    display: flex;
    /* margin-top: -25px; */
    justify-content: flex-end;
    gap: 25px;
    position: relative;
    z-index: 2;
    background-color: var(--secondary-color);
}

.paginationSect button {
    width: 125px;
}

.paginationSect button,
.tabsSect button {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    box-shadow: none;
    border-radius: 0px;
    padding: 15px;
}

button:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

@media (max-width: 768px) {

    .paginationSect {
        padding: 25px 20px 25px;
        width: calc(100% - 40px);
        justify-content: center;
    }

    .paginationSect button {
        width: 100px;
    }
}


/* BLOGS SECTION */
.blogSect {
    width: 40%;
    padding: 50px;
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 6px var(--accent-color);
    margin-left: 100px;
    margin-top: -100px;
    position: relative;
    z-index: 3;
}

.blogSect .titleDiv {
    display: flex;
    gap: 50px;
    align-items: center;
}

.blogSect .titleDiv img {
    width: 100px;
    height: 100px;
}

.titleDiv .subtitle,
.callToActionSect .subtitle {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 24px;
    font-style: normal;
}

.blogSect .title,
.stepsSect .title,
.callToActionSect .title,
.gallerySect .title {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 50px;
    margin: 30px 0px;
}

@media (max-width: 768px) {
    .blogSect {
        padding: 20px 20px 80px;
        margin: 0px;
        width: 80%;
        justify-self: center;
        margin-top: 100px;
    }

    .blogSect .title,
    .stepsSect .title,
    .callToActionSect .title,
    .gallerySect .title {
        font-size: 36px;
    }

    .blogSect .subtitle {
        font-size: 18px;
    }
}

/* MEDIA SECTION */
.gallerySect {
    max-width: 80%;
    margin: auto;
}

.main-image-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: auto;
    overflow: hidden;
    text-align: center;
}

.main-image-container img {
    max-width: 100%;
    max-height: 600px;
    height: auto;
    border-radius: 10px;
    transition: opacity 0.4s ease;
    opacity: 1;
}

.main-image-container img.fade-out {
    opacity: 0;
}

.thumbnails img.active {
    border: 2px solid #000;
    opacity: 0.8;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: white;
    background-color: rgba(217, 56, 43, 0.3);
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    height: 25px;
    width: 25px;
}

.arrow:hover {
    background-color: var(--primary-color);
}

.arrow.left {
    left: 10px;
}

.arrow.right {
    right: 10px;
}

.thumbnails {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.thumbnails img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.thumbnails img:hover,
.thumbnails img.active {
    opacity: 1;
    outline: 2px solid var(--primary-color);
}


/* STEPS SECTION */
.stepsSect {
    padding: 50px 100px;
    width: calc(100% - 200px);
}


.stepsSect .toolsDiv {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.stepsSect .toolsDiv div {
    padding: 10px 15px;
    transition: background-color 0.3s ease;
    background-color: var(--secondary-color);
    box-shadow: 0 2px 6px var(--accent-color);
    border-radius: 10px;
    display: flex;
    gap: 20px;
    align-items: center;
    font-size: 16px;
}

.stepsSect .toolsDiv img {
    width: 25px;
    height: 25px;
}

/* .title is same as in blogSect*/

.stepsSect .number {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 30px;
    color: var(--primary-color);
    margin: 0;
}

.stepsSect .fiveSteps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 50px;
    justify-content: center;
    width: 100%;
    align-items: center;
    justify-items: center;
    align-content: center;
    padding: 50px 0px;
}

.fiveSteps hr {
    height: 2px;
    background-color: var(--black);
}

@media (max-width: 768px) {
    .stepsSect {
        padding: 20px 20px;
        width: calc(100% - 40px);
    }

    .stepsSect .fiveSteps {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .stepsSect .toolsDiv {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* callToActionSect */

.callToActionSect {
    position: relative;
    background-image: url('your-image.jpg');
    background-size: cover;
    background-position: center;
    padding: 80px 100px;
    z-index: 0;
    overflow: hidden;
    text-align: center;
}

.callToActionSect::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(217, 56, 43, 0.6);
    z-index: -1;
}

.callToActionSect p {
    color: var(--white);
}

/* .title font is same as about Me Sect*/
.callToActionSect .title {
    line-height: 80px;
    margin: 25px 0px;
}

/* .subtitle font is same as welcome Sect*/
.callToActionSect .subtitle {
    margin: 0;
}

.callToActionSect .text,
.tabsSect .subtitle {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 20px;
    line-height: 30px;
    margin: 0px;
}

@media (max-width: 768px) {
    .callToActionSect {
        padding: 40px 20px;
    }

    .callToActionSect .title {
        line-height: 1;
    }
}
