@font-face {
    font-family: "Inter Regular";
    src: url(../fonts/Inter.ttf) format("truetype");
    /* font-weight: normal; */
    /* font-style: normal; */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --header-height: 0px;
    --gradient-color: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --logo-color: rgb(15, 30, 80);
    --bg-secondary: #f8fafc;
    --text-secondary: #64748b;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: "Inter Regular", sans-serif;
    /* border: 1px solid; */
}


/* Navigation Bar */
header {
    /* backdrop-filter: blur(10px); */
    /* border-bottom: 1px solid white; */
    z-index: 1;
    position: sticky;
    top: 0;
    padding: 1rem 2rem;
    /* transition: background-color 0.4s ease-out, border-bottom 0.4s ease-out; */
    transition: background-color 0.4s ease-out;
    /* display: flex; */
    /* justify-content: center; */
    /* background-color: rgb(255, 255, 255); */
}

header.bg-white {
    /* backdrop-filter: blur(10px); */
    background-color: rgb(255, 255, 255);
    box-shadow: var(--shadow-sm);
    /* color: black; */
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.2); */
    /* border-bottom: none; */
}

header > nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    /* margin: 0 4vw; */
    margin: 0 auto;
    /* font-size: 14px; */
    flex-wrap: wrap;
    /* color: black; */
    /* color: white; */
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: auto;
    font-size: 1rem;
    /* color: white; */
}

.nav-list > li {
    transition: color 0.1s ease-out;
}

.nav-list > li:hover {
    color: rgb(100, 125, 200);
}

#logo {
    padding: 4px;
    font-size: 1.75rem;
    font-weight: bold;
    background: var(--gradient-color);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    /* text-transform: uppercase; */
}

#logo-img {
    position: relative;
    height: 60px;
    /* aspect-ratio: 2 / 1; */
}

.nav-list > li {
    padding: 4px;
    font-size: 14px;
    /* text-transform: uppercase; */
}

.nav-list > li:hover, #logo:hover {
    cursor: pointer;
}

.nav-list a {
    color: inherit;
    text-decoration: none;
    padding: 6px 0;
    position: relative;
}

.nav-list a::after {
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    background-color: rgb(100, 125, 200);
    width: 0;
    height: 2px;
    transition: width 0.2s ease;
}

.nav-list a:hover::after {
    width: 100%;
}




















/* Main */
main > #section-welcome {
    height: calc(100vh - var(--header-height));
    position: relative;
}

main > #section-about {
    background-color: var(--bg-secondary);
}

main > #section-portfolio {
    /* height: 100vh; */
    background-image: url(../images/background_about.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Welcome section 100vh background */
main::before {
    content: "";
    background-image: url(../images/background.jpg);
    background-size: cover;
    background-position: center;
    /* background-attachment: fixed; */
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% + var(--header-height));
    z-index: -1;
    transform: translateY(calc(-1 * var(--header-height)));
}

/* Sections */
section {
    padding: 4rem 2rem;
}

.section-container {
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    position: relative;
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 0 0 1rem 0;
    text-align: center;
    background: var(--gradient-color);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 4px;
    width: 60px;
    border-radius: 2px;
    background: var(--gradient-color);
}

/* Welcome section */
#welcome-box {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#welcome-title {
    font-size: 5rem;
    font-weight: bold;
    color: rgb(255, 187, 0);
}

#welcome-subtitle {
    font-size: 1.5rem;
    font-weight: normal;
    color: white;
}

/* About section */
#section-about-box {
    padding: 2rem 0 0 0;
    display: flex;
    align-items: center;
    gap: 5rem;
}

#section-about-image {
    flex: 1;
    aspect-ratio: 1/1;
    background-image: url(../images/background4.png);
    background-position: center;
    background-size: cover;
    border-radius: 1rem;
}

#section-about-text {
    flex: 1.5;
    text-wrap: wrap;
}

#section-about-text > h3 {
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 2rem;
    /* line-height: 1.3; */
}

#section-about-text > p {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Portfolio section */
#section-portfolio-box {
    padding: 4rem 0;
    display: flex;
    /* justify-content: space-between; */
    flex-wrap: wrap;
    gap: 1rem;
}

.portfolio-item {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    max-width: calc(100% / 4 - 1rem + 1rem / 4);
    border-radius: 1rem;
    /* transition: transform 0.2s ease-out; */
}

.portfolio-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  transition: transform 0.35s ease;
  will-change: transform;
}

.portfolio-item:hover::before {
    cursor: pointer;
    transform: scale(1.1);
}

#portfolio2 {
    padding: 2rem 0;
    display: flex;
    align-items: center;
    gap: 2rem;
    overflow: hidden;
    cursor: grab;
}

.portfolio2-item {
    display: block;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1.4 / 1;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 40%;
    /* max-width: calc(100% / 4 - 1rem + 1rem / 4); */
    border-radius: 1rem;
    /* transition: transform 0.2s ease-out; */
}

.portfolio2-item::before {
  content: "";
  position: absolute;
  display: block;
  inset: 0;
  background: inherit;
  transition: transform 0.35s ease;
  will-change: transform;
}

.portfolio2-item:hover::before {
    transform: scale(1.04);
}

#section-portfolio-text > h3 {
    font-size: 1.5rem;
    font-weight: 200;
    margin-top: 2rem;
    text-align: center;
    font-style: italic;
    color: white;
    /* line-height: 1.3; */
}

/* Offer section */
#section-offer-box {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding-top: 2rem;
}

.section-offer-item {
    display: flex;
    flex-direction: column;
    width: calc(100% / 2 - 2rem + 2rem / 2);
    height: auto;
    /* aspect-ratio: 1 / 1.1; */
    overflow: hidden;
    /* border: 1px solid black; */
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.section-offer-item-image {
    flex: 0 0 260px;
    position: relative;
    width: 100%;
    background-image: inherit;
    background-position: center;
    background-size: cover;
}

.section-offer-item-text {
    flex: 1;
    display: flex;
    height: auto;
    flex-direction: column;
    padding: 2rem;
}

.section-offer-item-text h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: normal;
}

.section-offer-item-text p {
    /* font-size: 1.1rem; */
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.section-offer-item-text p.subpoint {
    display: list-item;
    list-style-type: disc;
    margin-left: 2rem;
}

.section-offer-item-price {
    align-self: flex-end;
    padding: 1rem;
    margin-top: auto;
    /* margin-right: ; */
    border-radius: 1rem;
    background: var(--gradient-color);
    color: white;
}

.pb-sm {
    padding-bottom: 1rem;
}

/* Contact section */
#section-contact {
    background-image: url(../images/background_about.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#section-contact-box {
    background-color: white;
    margin-top: 2rem;
    border-radius: 1rem;
    display: flex;
}

#section-contact-character {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2.5rem;
    width: 50%;
    height: 100%;
}

#section-contact-character::after {
    content: "";
    position: absolute;
    border-radius: 1rem;
    top: 5%;
    right: 0;
    height: 90%;
    width: 4px;
    background-color: rgba(128, 128, 128, 0.3);
}

#section-contact-character div {
    margin-top: 1rem;
}

#section-contact-character-image {
    width: 40%;
    aspect-ratio: 1/ 1;
    overflow: hidden;
    border: 1px solid rgba(128, 128, 128, 0.2);
    border-radius: 50%;
}

#section-contact-character-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#section-contact-character-name {
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 1px;
}

#section-contact-character-description p {
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

#section-contact-info {
    padding: 2.5rem;
    width: 50%;
}

#section-contact-info a[href^="tel:"], a[href^="mailto:"] {
    color: rgb(60, 60, 60);
    text-decoration: none;
}

#section-contact-info a[href^="tel:"]:hover, a[href^="mailto:"]:hover { 
    text-decoration: underline;
}

#section-contact-info div {
    padding-bottom: 0.5rem;
}

#section-contact-info h2 {
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 1px;
}

#section-contact-info p, a {
    font-weight: 300;
    line-height: 1.6;
    color: rgb(60, 60, 60);
}

address {
    font-style: normal;
}

@media (max-width: 1400px) {
    .portfolio-item {
        max-width: calc(100% / 3 - 1rem + 1rem / 3);
    }
}

@media (max-width: 1050px) {

    .portfolio-item {
        max-width: calc(100% / 2 - 1rem + 1rem / 2);
    }





    section {
        padding: 2rem;
    }

    /* Welcome section */
    #welcome-title {
        font-size: 4rem;
        font-weight: bold;
        color: rgb(255, 187, 0);
    }

    #welcome-subtitle {
        font-size: 1.2rem;
        font-weight: normal;
        color: white;
    }

    /* Sections */
    .section-title {
        position: relative;
        font-size: 2.5rem;
        font-weight: 600;
        letter-spacing: 1px;
        padding: 0 0 1rem 0;
        text-align: center;
        background: var(--gradient-color);
        -webkit-text-fill-color: transparent;
        -webkit-background-clip: text;
    }

    .section-title::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        height: 3px;
        width: 55px;
        border-radius: 2px;
        background: var(--gradient-color);
    }

    /* About section */
    #section-about-box {
        padding: 2rem 0 0 0;
        display: flex;
        align-items: center;
        gap: 2rem;
    }

    #section-about-image {
        flex: 1;
        aspect-ratio: 1 / 2;
        background-image: url(../images/background4.png);
        background-position: center;
        background-size: cover;
        border-radius: 1rem;
    }

    #section-about-text {
        flex: 1.5;
        text-wrap: wrap;
    }

    #section-about-text > h3 {
        font-size: 1.8rem;
        font-weight: 400;
        margin-bottom: 2rem;
        /* line-height: 1.3; */
    }

    #section-about-text > p {
        font-size: 1rem;
        font-weight: 300;
        color: var(--text-secondary);
        margin-bottom: 2rem;
    }

    /* Portfolio section */
    .portfolio2-item {
        display: block;
        flex-shrink: 0;
        position: relative;
        overflow: hidden;
        aspect-ratio: 1.4 / 1;
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        width: 40%;
        /* max-width: calc(100% / 4 - 1rem + 1rem / 4); */
        border-radius: 1rem;
        /* transition: transform 0.2s ease-out; */
    }

    #section-portfolio-text > h3 {
        font-size: 1.2rem;
        font-weight: 200;
        margin-top: 2rem;
        text-align: center;
        font-style: italic;
        color: white;
        /* line-height: 1.3; */
    }

    /* Offer section */
    .section-offer-item {
        display: flex;
        flex-direction: column;
        width: calc(100% / 2 - 2rem + 2rem / 2);
        height: auto;
        overflow: hidden;
        border-radius: 1rem;
        box-shadow: var(--shadow-lg);
    }

    .section-offer-item-text h3 {
        margin-bottom: 1.5rem;
        font-size: 1.2rem;
        font-weight: normal;
    }

    .section-offer-item-text p {
        font-size: 0.9rem;
        font-weight: 300;
        line-height: 1.6;
        margin-bottom: 0.5rem;
        color: var(--text-secondary);
    }

    .section-offer-item-price {
        font-size: 0.9rem;
        align-self: flex-end;
        padding: 0.9rem;
        margin-top: auto;
        border-radius: 1rem;
        background: var(--gradient-color);
        color: white;
    }

    /* Contact section */
    #section-contact-character {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 2.5rem;
        width: 50%;
        height: 100%;
    }

    #section-contact-character::after {
        content: "";
        position: absolute;
        border-radius: 1rem;
        top: 5%;
        right: 0;
        height: 90%;
        width: 4px;
        background-color: rgba(128, 128, 128, 0.3);
    }

    #section-contact-character-image {
        width: 65%;
        aspect-ratio: 1/ 1;
        overflow: hidden;
        border: 1px solid rgba(128, 128, 128, 0.2);
        border-radius: 50%;
    }

    #section-contact-character-name {
        font-size: 1.6rem;
        font-weight: 400;
        letter-spacing: 1px;
    }

    #section-contact-character-description p {
        font-size: 0.9rem;
        font-weight: 300;
        line-height: 1.6;
        margin-bottom: 0.5rem;
        color: var(--text-secondary);
    }

    #section-contact-info {
        padding: 2.5rem;
        width: 50%;
    }

    #section-contact-info h2 {
        font-size: 1.2rem;
        font-weight: 400;
        letter-spacing: 1px;
    }

    #section-contact-info p, a {
        font-size: 0.9rem;
        font-weight: 300;
        line-height: 1.6;
    }

}

@media (max-width: 700px) {
    /* .portfolio-item {
        max-width: calc(100% / 1 - 1rem + 1rem / 1);
    } */

    section {
        padding: 2rem;
    }

    /* Welcome section */
    #welcome-title {
        font-size: 3rem;
        font-weight: bold;
        color: rgb(255, 187, 0);
    }

    #welcome-subtitle {
        font-size: 1rem;
        font-weight: normal;
        color: white;
    }

    .nav-list {
        display: none;
    }

    /* Sections */
    .section-title {
        position: relative;
        font-size: 2.2rem;
        font-weight: 600;
        letter-spacing: 1px;
        padding: 0 0 1rem 0;
        text-align: center;
        background: var(--gradient-color);
        -webkit-text-fill-color: transparent;
        -webkit-background-clip: text;
    }

    .section-title::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        height: 3px;
        width: 50px;
        border-radius: 2px;
        background: var(--gradient-color);
    }

    /* About section */
    #section-about-box {
        padding: 2rem 0 0 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    #section-about-image {
        width: 100%;
        aspect-ratio: 16 / 9;
        background-image: url(../images/background4.png);
        background-position: center;
        background-size: cover;
        border-radius: 1rem;
    }

    #section-about-text {
        text-wrap: wrap;
    }

    #section-about-text > h3 {
        font-size: 1.5rem;
        font-weight: 400;
        margin-bottom: 2rem;
        /* line-height: 1.3; */
    }

    #section-about-text > p {
        font-size: 1rem;
        font-weight: 300;
        color: var(--text-secondary);
        margin-bottom: 2rem;
    }

    /* Portfolio section */
    .portfolio2-item {
        display: block;
        flex-shrink: 0;
        position: relative;
        overflow: hidden;
        aspect-ratio: 1.4 / 1;
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
        width: 60%;
        /* max-width: calc(100% / 4 - 1rem + 1rem / 4); */
        border-radius: 1rem;
        /* transition: transform 0.2s ease-out; */
    }

    #section-portfolio-text > h3 {
        font-size: 1rem;
        font-weight: 200;
        margin-top: 2rem;
        text-align: center;
        font-style: italic;
        color: white;
        /* line-height: 1.3; */
    }

    /* Offer section */
    .section-offer-item {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: auto;
        overflow: hidden;
        border-radius: 1rem;
        box-shadow: var(--shadow-lg);
    }

    .section-offer-item-text h3 {
        margin-bottom: 1.5rem;
        font-size: 1.2rem;
        font-weight: normal;
    }

    .section-offer-item-text p {
        font-size: 0.9rem;
        font-weight: 300;
        line-height: 1.6;
        margin-bottom: 0.5rem;
        color: var(--text-secondary);
    }

    .section-offer-item-price {
        font-size: 0.9rem;
        align-self: flex-end;
        padding: 0.9rem;
        margin-top: auto;
        border-radius: 1rem;
        background: var(--gradient-color);
        color: white;
    }

    /* Contact section */
        #section-contact-box {
        background-color: white;
        margin-top: 2rem;
        border-radius: 1rem;
        display: flex;
        flex-direction: column;
    }

    #section-contact-character {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 2.5rem;
        width: 100%;
    }

    #section-contact-character::after {
        display: none;
    }

    #section-contact-character-image {
        width: 65%;
        aspect-ratio: 1/ 1;
        overflow: hidden;
        border: 1px solid rgba(128, 128, 128, 0.2);
        border-radius: 50%;
    }

    #section-contact-character-name {
        font-size: 1.6rem;
        font-weight: 400;
        letter-spacing: 1px;
    }

    #section-contact-character-description p {
        font-size: 0.9rem;
        font-weight: 300;
        line-height: 1.6;
        margin-bottom: 0.5rem;
        color: var(--text-secondary);
    }

    #section-contact-info {
        padding: 2.5rem;
        padding-top: 0;
        width: 100%;
        text-align: center;
    }

    #section-contact-info h2 {
        font-size: 1.2rem;
        font-weight: 300;
        letter-spacing: 1px;
    }

    #section-contact-info p, a {
        font-size: 0.9rem;
        font-weight: 300;
        line-height: 1.6;
    }
}