@import url('https://fonts.googleapis.com/css2?family=Karantina:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

/* --- GLOBAL --- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    background-color: #F9F9F9;
    color: #1F1F1E;
}

html {
    scroll-behavior: smooth;
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    padding: 0 3%;
    width: 100%;
    height: 60px;
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: #F9F9F9;
    gap: 20%;
    font-family: 'Inter', sans-serif;
    border-bottom: 0.3px solid #cfcfcf;
    z-index: 10;
}

#menu-toggle {
    display: none;
}

.hamburger {
    display: none;
    color: #1F1F1E;
    font-size: 1.5rem;
    cursor: pointer;
    user-select: none;
}

.nav img {
    width: 150px;
}

.nav-item {
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.nav-item a {
    font-family: 'Inter', sans-serif;
    color: #1F1F1E;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
}

/* --- HERO SECTION --- */
.heropage {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 60px;
    padding-top: 10%;
}

.hero-house {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.headline {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.headline span {
    font-family: 'Karantina', cursive;
    font-weight: bolder;
    font-size: 6rem;
}

.gradient-text {
    background: linear-gradient(90deg, #000000, #555555);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-weight: bold;
}

.blue {
    color: #007BFF;
}

/* --- FEATURES --- */
.features {
    color: #1F1F1E;
    display: flex;
    flex-direction: row;
    gap: 15px;
    font-size: 14px;
    font-weight: bold;
}

.feature {
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* --- CTA --- */
.cta {
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: row;
    gap: 30px;
    margin-top: 20px;
    font-weight: bold;
}

.call {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 170px;
    height: 40px;
    text-decoration: none;
    background-color: #007BFF;
    font-size: 14px;
    color: #FFFFFF;
    border-radius: 3px;
}

.button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 170px;
    height: 40px;
    background-color: transparent;
    font-size: 14px;
    text-decoration: none;
    color: #1F1F1E;
    font-weight: bold;
    border: 1px solid #1F1F1E;
}

/* --- PRICING --- */
.price-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2% 3%;
    margin: 50px 0;
}

.price-section-header {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #1F1F1E;
    font-weight: bold;
}

.price-lists {
    margin-top: 14px;
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    gap: 30px;
}

.starter-package {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    font-family: 'Inter', sans-serif;
    padding: 1%;
    color: #1F1F1E;
    width: 300px;
    height: 400px;
    border-radius: 15px;
    background-color: #FFFFFF;
    border: 1.5px solid #000000;
    box-shadow: 4px 5px 0 4px rgba(0, 0, 0, 1);
    max-width: 100%;
}

.pack-title {
    font-size: 14px;
    margin: 0;
}

.price {
    margin: 0;
    font-weight: bold;
    font-size: 1.2rem;
}

.content {
    font-size: 13px;
    height: 300px;
    padding: 0;
    margin: 0;
    line-height: 200%;
    text-align: left;
}

.content ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    margin: 0 10px 0 0;
    list-style: none;
    padding-left: 0;
}

/* --- BOOK BUTTONS --- */
.book {
    width: 100%;
    height: 40px;
    background-color: #007BFF;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    font-size: 12px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.book-line {
    width: 100%;
    height: 40px;
    color: #1F1F1E;
    border: 0.5px solid #1F1F1E;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    font-size: 12px;
    margin-bottom: 20px;
    border-radius: 5px;
}

/* --- SERVICES --- */
.service-section {
    font-family: 'Inter', sans-serif;
    padding: 0 3%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.under-line {
    color: #1F1F1E;
    width: 400px;
    margin-bottom: 30px;
    font-size: 14px;
}

.service-part {
    display: flex;
    flex-direction: row;
    gap: 100px;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 45px;
}

.services, .services-line {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 300px;
    height: 50px;
    border-radius: 60px;
    padding: 0 2%;
    max-width: 100%;
}

.services {
    font-weight: bold;
    background: #007BFF;
    color: #FFFFFF;
}

.services-line {
    border: 0.5px solid #1F1F1E;
    background: #FFFFFF;
    color: #1F1F1E;
}

.services p, .services-line p {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin-right: 5px;
}

.services p {
    background-color: #FFFFFF;
    color: #007BFF;
}

.services-line p {
    background-color: #007BFF;
    color: #FFFFFF;
    font-weight: bold;
}

.services-line span, .services span {
    font-weight: bold;
    font-size: 14px;
}

/* --- PROFILE PIC --- */
.profile-pic {
    width: 250px;
    height: 350px;
    background-color: transparent;
    overflow: hidden;
    border-radius: 10px;
    border: 0.4px solid #1F1F1E;
    position: relative;
    z-index: -1;
    max-width: 100%;
}
.profile-pic img {
    width: 100%;
    height: 100%;      /* fills the container */
    object-fit: cover; /* ensures image covers container without stretching */
    border-radius: 10px; /* matches parent container */
    display: block;    /* removes extra spacing below image */
}
.name {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px 0 0 0;
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    font-size: 12px;
    position: absolute;
    bottom: -12px;
    right: 0;
    background-color: #1F1F1E;
    height: 30px;
    width: 200px;
    color: #FFFFFF;
}

/* --- CTA DIV --- */
.cta-div {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* --- PORTFOLIO / EXPLORE --- */
.portfolio, .explore {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2%;
    width: 200px;
    height: 150px;
    border-radius: 5px;
    max-width: 100%;
}

.portfolio {
    color: #1F1F1E;
    background-color: #FFFFFF;
    border: 1px solid #E5E5E5;
}

.explore {
    background-color: #007BFF;
    color: #FFFFFF;
}

.explore p, .portfolio p {
    font-size: 14px;
    font-weight: bold;
    height: 80px;
}

.portfolio a, .explore a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
    width: 190px;
    height: 30px;
}

.portfolio a {
    background-color: #1F1F1E;
    color: #FFFFFF;
}

.explore a {
    background-color: #FFFFFF;
    color: #007BFF;
}

/* --- STACK --- */
.stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.stack-head {
    font-size: 1.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    color: #1F1F1E;
    margin-bottom: 10px;
}

.technology {
    overflow: hidden;
    white-space: nowrap;
}

.marquee {
    display: inline-flex;
    gap: 40px;
    animation: scroll 15s linear infinite;
}

.technology span {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 100px;
    padding: 10px;
    background-color: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.technology i {
    font-size: 3rem;
    color: #6A7F80;
    margin-bottom: 5px;
}

.technology p {
    font-size: 12px;
    font-weight: bold;
    margin: 0;
    color: #1F1F1E;
}

@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* --- FOOTER --- */
.footer {
    width: 100%;
    background-color: #FFFFFF;
    height: 50px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 40px;
    box-shadow: 0 -1px 5px rgba(0,0,0,0.1);
}

.footer a {
    font-size: 16px;
    color: #007BFF;
}

/* --- TABLET --- */
@media (min-width: 481px) and (max-width: 1024px) {
    .nav { height: 70px; gap: 10%; padding: 0 5%; }
    .nav-item { gap: 20px; }
    .headline span { font-size: 4rem; }
    .heropage { padding-top: 12%; margin-bottom: 50px; }
    .features { gap: 10px; font-size: 13px; }
    .cta a, .cta button { width: 140px; font-size: 13px; }
    .price-lists { flex-wrap: wrap; gap: 20px; }
    .starter-package { width: 270px; height: 380px; }
    .service-part { flex-direction: column; gap: 50px; align-items: center; }
    .services, .services-line { width: 280px; }
    .portfolio, .explore { width: 280px; height: 160px; }
    .under-line { width: 300px; font-size: 13px; }
}

/* --- MOBILE --- */
@media (max-width: 480px) {

    .nav-item {
        position: absolute;
        top: 50%;
        left: 0;
        display: none;
        flex-direction: column;
        width: calc(100% - 6%);
        padding: 3%;
    }

    #menu-toggle:checked ~ .nav-item {
        display: flex;
        position: absolute;
        top: 80%;
        left: 0;
        height: 100vh;
        flex-direction: column;
        width: calc(100% - 6%);
        background-color: #ffffff;
        padding: 3%;
    }

    /* Hamburger container */
    .hamburger {
        font-size: 1rem;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    /* Show only bars icon by default */
    .hamburger .fa-times,
    .hamburger .fa-xmark {
        display: none;
    }

    /* When checked, swap icons */
    #menu-toggle:checked + .hamburger .fa-bars {
        display: none;
    }
    #menu-toggle:checked + .hamburger .fa-times,
    #menu-toggle:checked + .hamburger .fa-xmark {
        display: inline-block;
    }

    .heropage {
        align-items: center;
        padding-top: 15%;
        margin-bottom: 40px;
    }

    .hero-house {
        margin-top: 30px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .headline {
        align-items: flex-start;
    }

    .headline span {
        font-size: 2rem;
    }

    .features {
        flex-direction: column;
        gap: 5px;
        font-size: 12px;
    }

    .call, .button {
        width: 110px;
        font-size: 11px;
    }

    .price-section-header {
        font-size: 1rem;
    }

    .price-lists {
        flex-direction: column;
        gap: 25px;
    }

    .starter-package,
    .portfolio,
    .explore,
    .services,
    .services-line {
        max-width: 100%;
    }

    .starter-package {
        width: 250px;
        height: 350px;
        padding: 0 5%;
        border-radius: 10px;
    }

    .pack-title {
        margin-top: 20px;
        font-size: 12px;
    }

    .price {
        font-size: 1rem;
    }

    .content {
        height: 240px;
        font-size: 11px;
    }

    .service-part {
        flex-direction: column;
        gap: 40px;
        justify-content: center;
        align-items: center;
    }

    .service-list {
        gap: 30px;
    }

    .cta-div {
        display: flex;
        align-items: center;
    }

    .portfolio, .explore {
        width: 250px;
    }

    .under-line {
        font-size: 12px;
        width: 250px;
    }

    .technology {
        flex-direction: column; /* stack for mobile */
        gap: 10px;
        white-space: nowrap;
        overflow: hidden;
    }

    .technology span {
        justify-content: flex-start;
        flex-direction: row;
        width: 100%;          /* full width */
        max-width: 250px;     /* prevent being too wide */
        height: auto;
        padding:0 3%;      /* no fixed height */
        /* breathing space */
    }

    .technology i {
        margin-right: 10px;
        font-size: 2.5rem;    /* smaller icon */
        margin-bottom: 5px;
    }

    .technology p {
        font-size: 11px;
    }
}
