/* Main */
.section-title {
    color: var(--main-color-orange);
}

/* Hero */
.hero-banner {
    text-align: center;
    background: var(--main-color-darker);
    color: #ffffff;
    min-height: 100vh;
    padding: 50px 20px;
}

.hero-text {
    padding: 40px;
    text-align: left;
    margin: 0 auto;
    max-width: 600px;
}

#hero-hello {
    font-size: 5rem;
}

#hero-about {
    font-size: 2rem;
}

.hero-btn {
    background-color: var(--main-color-orange);
    border-color: var(--main-color-orange);
}

.orange {
    color: var(--main-color-orange);
}

.hero-image {
    padding: 20px;
}

@media (max-width: 768px) {
    .hero-banner {
        text-align: center;
        padding: 50px 20px;
    }

    .hero-text {
        padding: 20px;
        text-align: center;
        max-width: none;
    }

    #hero-hello {
        font-size: 3rem;
    }

    #hero-about {
        font-size: 1.5rem;
    }

    .hero-image {
        display: none;
    }

    .hero-btn {
        margin-bottom: 20px;
    }
}

/* Experience */
.custom-sections {
    background: var(--main-color-lighter);
    color: #ffffff;
    padding: 20px 0;
}

.custom-section {
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    padding: 20px;
}

.left-column {
    flex: 1;
    text-align: right;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding-right: 20px;
    opacity: 0.6;
}

.right-column {
    flex: 3;
    text-align: left;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding-right: 15%;
    opacity: 0.6;
}

.custom-section:hover .left-column,
.custom-section:hover .right-column {
    font-weight: bold;
    opacity: 1;
}

.custom-section:hover .left-column {
    font-size: 1.5rem;
    color: var(--main-color-orange);
}

.custom-section:hover .right-column {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .left-column {
        font-size: 1rem;
        opacity: 1;
        color: var(--main-color-orange);
    }

    .right-column {
        font-size: 1rem;
        padding-right: 10%;
        opacity: 1;
    }

    .custom-section:hover .left-column,
    .custom-section:hover .right-column {
        font-weight: normal;
        opacity: 1;
        font-size: 1rem;
    }
}

/* Projects */
.carousel-section {
    background: var(--main-color-darker);
    color: #ffffff;
    padding-bottom: 50px !important;
    padding-top: 50px !important;
}

.card {
    margin: 0;
    border: none;
    cursor: pointer;
    text-align: center;
}

.card img {
    width: 450px;
    height: 350px;
    object-fit: cover;
}

.card-body {
    overflow: hidden;
    background: #303030;
}

.card-title {
    color: var(--main-color-orange);
}

.card-text {
    color: #ffffff;
}

@media (max-width: 768px) {
    .card img {
        width: 100%;
        height: auto;
    }

    .carousel-section {
        padding-bottom: 20px !important;
    }
}

/* Articles */
.blog-section {
    background: var(--main-color-lighter);
    padding: 50px 0;
}

.posts {
    margin: 0;
    padding: 2%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    color: #fff;
}

.post-card {
    margin: 1%;
    width: 50%;
    border-radius: 10px;
    overflow: hidden;
    background-color: #181616;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.3s ease;
}

.post-card:hover {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    color: inherit;
}

.author-section {
    display: flex;
    align-items: center;
    padding: 10px;
}

.author-icon img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
}

.post-image {
    width: 100%;
    height: 20%;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.post-content {
    padding: 15px;
}

.post-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.post-description {
    font-size: 14px;
    margin-bottom: 10px;
}

.post-date {
    font-size: 12px;
    color: #b1b1b1;
}

@media (max-width: 768px) {
    .post-card {
        width: 80%;
    }
}

/* Recommendations */
.recommendation-section {
    background: var(--main-color-darker);
    padding: 50px 0;
}

.recommendation-box {
    padding: 1% 10%;
    text-align: center;
}

.top-section {
    flex: 3;
    padding: 0 100px;
}

.recommendation-text {
    font-style: italic;
    font-size: 1.2rem;
}

.quote-box {
    position: relative;
    background: #202020;
    color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    margin: 20px;
}

.quote-text {
    margin-top: 30px;
    font-size: 1.2rem;
}

.bottom-section {
    flex: 1;
    display: flex;
    justify-content: space-evenly;
    margin-top: 20px;
}

.recommendation-button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    filter: saturate(0%);
    color: #ffffff48;
}

.recommendation-button img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-bottom: 5px;
}

.recommendation-button span {
    font-size: 0.8rem;
}

.recommendation-button:hover {
    text-decoration: underline;
    outline: none;
}

.recommendation-button.clicked {
    filter: saturate(100%);
    color: #ffffff;
    outline: none;
}

@media (max-width: 768px) {

    .recommendation-text,
    .quote-text {
        font-size: 1rem;
    }

    .quote-box {
        padding: 10px;
    }
}

/* Contact */
.contact-section {
    background: var(--main-color-lighter);
    padding: 50px 0;
    text-align: center;
}

.contact-text {
    display: inline-block;
    text-align: left;
    font-size: 2rem;
    max-width: 100%;
}

@media (max-width: 768px) {
    .contact-text {
        font-size: 1.5rem;
    }
}