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

@font-face {
    font-family: 'Font-One';
    src: url('Groteska-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

body {
    font-family: 'Font-One';
    font-size: 1.125rem;
    line-height: 1.5;
    background: #f8f8f8;
    color: #333;
    width: 100%;
    transition: background-color 1s ease;
}

.main-container {
    margin: 0 auto;
    padding-left: max(1rem, 3vw);
    padding-right: max(1rem, 3vw);
    width: 100%;
    max-width: calc(1600px + 6vw); 
    box-sizing: border-box;
    overflow-x: hidden;
}

.section-spacing {
    margin: 10rem 0;
}

/* HEADER */

header.scrolled-up {
    background-color: #f8f8f8;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.title-section img.shrink {
    width: 2.5rem; 
    transition: width 0.3s ease;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    transition: all 0.5s ease;
    z-index: 9999;
}

.hidden {
    transform: translateY(-100%);
    transition: transform 0.5s ease;
}

.header-content {
    display: flex;
    align-items: center;
    margin: 0 auto;
    padding-left: max(1rem, 3vw);
    padding-right: max(1rem, 3vw);
    width: 100%;
    max-width: calc(1600px + 6vw); 
}

.title-section {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    height: 100%;
}

.title-section h1 {
    font-size: 1.25rem;
}

.title-section img {
    width: 4rem;
    transition: width 0.3s ease;
    display: flex;
    align-items: center;
}

nav {
    display: flex;
    justify-content: flex-start;
    gap: 3rem;
    z-index: 10000;
}

nav a {
    color: #333;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.3s;
}

nav a:hover {
    border-bottom-color: #00008B;
    color: #00008B;
}

.menu-toggle {
    display: none;
    font-size: 2rem;
    font-family: 'Font-One';
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}


/* INTRO SECTION */
.intro {
    display: flex;
    align-items: center;
    height: auto;
    margin: 10rem 0;
}

.intro h1 {
    font-size: 2.6rem;
    max-width: 80%;
    margin-bottom: 2rem;
    line-height: 1.4;
    color: #333;
}

.colorful-text {
    color: #00008B;
}

.placeholder-section {
    width: 50%;
    color: #888;
    font-size: 1rem;
    line-height: 1.7;
}

.underline {
    border-bottom: 2px #333 solid;
}

/* SERVICES SECTION */
.services-header {
    margin-bottom: 1.5rem;
}

.services-header h1 {
    font-size: 1.3rem;
    color: #00008B;
}

.services {
    display: flex;
    gap: 2rem;
    width: 100%;
    overflow-x: auto;
    margin-bottom: 10rem;
    
}

.services-content {
    display: flex;
    flex-direction: column;
    border-top: 2px solid #00008B;
    transition: transform 0.3s ease;
    padding: 1rem;
}

.services-content:hover {
    transform: translateY(-5px);
}

.services-text h1 {
    font-size: 1.9rem;
    margin-bottom: 1rem;
}

.services-text p {
    font-size: 1rem;
    color: #888;
}

/* ABOUT SECTION */
.about-section {
    margin: 10rem 0;
    border-top: 2px solid #00008B;
}

.about-container {
    display: flex;
    max-width: 1400px;
    align-items: center;
    gap: 4rem;
    padding: 1rem;
}

.about-text {
    width: 50%;
}

.about-text h1 {
    font-size: 2.2rem;
    margin: 1rem 0;
    color: #00008B;
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 1rem;
}

.portfolio-link {
    display: inline-block;
    margin-top: 1rem;
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    border-bottom: 2px solid transparent; 
    transition: border-bottom 0.3s ease, color 0.3s ease;
}

.portfolio-link:hover {
    color: #00008B;
    border-bottom: 2px solid #00008B;
}

/* CLIENTS SECTION */
.clients-section {
    text-align: left;
    margin-top: 10rem;
    margin-bottom: 10rem;
    border-top: 2px solid #00008B;
    padding: 1rem;
}

.clients-title {
    font-size: 2.2rem;
    margin: 1rem 0;
    color: #00008B;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); 
    gap: 2rem; 
    justify-content: center; 
}

.client-block {
    padding-top: 1rem;
    display: flex;
    justify-content: start;
    align-items: center;
    transition: transform 0.3s ease;
}

.client-block:hover {
    transform: translateY(-5px);
}

.client-block img {
    max-width: 11rem;
    height: auto;
    border-radius: 8px;
}

/* RATES SECTION */
.rates-header h1 {
    font-size: 1.3rem;
    color: #00008B;
    margin-bottom: 1rem;
}

.rates-container {
    width: 100%;
    margin: 10rem 0;
}

.rates {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid #333;
}

.left-content h2 {
    font-size: 1.4rem;
}

.middle-content {
    text-align: center;
    font-size: 0.9rem;
    color: #888;
}

.right-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
}

.right-content p {
    font-size: 1.4rem;
}

.right-content span:hover {
    transform: scale(1.2);
}

.additional-info-rates {
    margin-top: 1.5rem;
}

.additional-info-rates a {
    text-decoration: none;
    color: #00008B;
    font-weight: bold;
    border-bottom: 2px solid transparent; 
    transition: border-bottom 0.3s ease, color 0.3s ease;
}

.additional-info-rates p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    width: 100%;
}

.additional-info-rates a:hover {
    border-bottom: 2px solid #00008B;
}

.additional-info-mobile {
    display: none;
}

/* CONTACT SECTION */
.contact-section {
    position: relative;
    color: #f8f8f8;
    padding: 0 3vw;
    margin-top: 5rem;
    margin-bottom: 2.5rem;
    z-index: 1;
}

.contact-overlay {
    display: flex;
    justify-content: flex-start; 
    align-items: flex-start; 
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    width: 100%;
    text-align: left; 
    justify-content: start; 
    align-items: start; 
    margin: 0 auto;
    max-width: 1600px;
}

.contact-info {
    max-width: 600px;
    margin-bottom: 22rem;
}

.contact-info h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.contact-info p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.contact-info a {
    color:#f8f8f8;
    transition: border-bottom 0.3s ease, color 0.3s ease;
}

.contact-info a:hover {
    color: #fff;
}

.contact-year img {
    position: absolute; 
    bottom: 40px; 
    left: 50%; 
    transform: translateX(-50%); 
    width: 5rem;
}

.contact-year {
    position: absolute; 
    bottom: 20px; 
    left: 50%; 
    transform: translateX(-50%); 
    color: #f8f8f8;
    font-size: 1rem;
    opacity: 0.7;
}

.contact-info,
.contact-content {
    display: flex;
    flex-direction: column;
    justify-content: center; 
}

.contact-content p {
    margin-bottom: 1rem; 
    text-align: left; 
}

/* FORM */

.contact-content form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem; 

}
  
.contact-content label {
    display: flex;
    flex-direction: column;
    font-size: 1rem;
    color: #f8f8f8;
}
  
.contact-content input,
.contact-content textarea {
    background-color: #f8f8f8;
    padding: 0.75rem;
    font-size: 1rem;
    border: 1px solid #f8f8f8;
    border-radius: 0.5rem;
    resize: vertical;
}
  
.contact-content textarea {
    min-height: 150px;
}
  
.contact-content button {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    background-color: #f8f8f8;
    color: #00008B;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.3s ease;
}
  
.contact-content button:hover {
    background-color: #003080;
}












/* RESPONSIVE */
@media (max-width: 1500px) {

    /* Base Typography */
    body {
        font-size: 1rem;
    }

    /* --- HEADER --- */
    .title-section h1 {
        font-size: 1.2rem;
    }

    .title-section img {
        width: 3rem;
        max-width: 100%;
        margin-left: 1rem;
    }

    /* --- INTRO SECTION --- */
    .intro {
        margin: 8rem 0; 
    }

    .intro h1 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    .intro p {
        line-height: 1.5;
    }

    .placeholder-section {
        font-size: 0.85rem;
    }

    /* --- SERVICES SECTION --- */
    .services-header h1 {
        font-size: 1.2rem;
    }

    .services {
        margin-bottom: 8rem;
    }

    .services-text h1 {
        font-size: 1.2rem;
    }

    .services-text p {
        font-size: 0.8rem;
    }

    /* --- ABOUT SECTION --- */
    .about-section {
        margin: 8rem 0;
    }

    .about-text h1 {
        font-size: 1.2rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .portfolio-link {
        font-size: 1rem;
    }

    /* --- CLIENTS SECTION --- */
    .clients-section {
        margin: 8rem 0;
    }

    .clients-title {
        font-size: 1.2rem;
    }

    .clients-grid {
        gap: 1rem;
    }

    .client-block img {
        max-width: 8rem;
        height: auto;
    }

    /* --- RATES SECTION --- */
    .rates-container {
        margin: 8rem 0;
    }

    .rates-header h1 {
        font-size: 1.2rem;
    }

    .left-content h2 {
        font-size: 1rem;
    }

    .middle-content {
        font-size: 0.8rem;
    }

    .right-content p {
        font-size: 1rem;
    }

    .additional-info-rates p {
        font-size: 0.8rem;
        margin-bottom: 0.2rem;
    }

    /* --- CONTACT SECTION --- */


    .contact-grid {
        padding: 0;
    }

    .contact-info h1 {
        font-size: 1.4rem;
    }

    .contact-info {
        margin-bottom: 22rem;
        max-width: 500px;
    }

    .contact-info p,
    .contact-info a {
        font-size: 0.85rem;
    }

    .contact-year {
        font-size: 0.8rem;
    }

    .contact-year img {
        width: 3rem;
    }

    .contact-content label,
    .contact-content input,
    .contact-content textarea,
    .contact-content button {
        font-size: 0.85rem;
    }
}




@media (max-width: 960px) {

    /* --- CLIENTS SECTION --- */
    .clients-section {
        margin: 6rem 0;
    }

    .clients-grid {
        gap: 1rem;
    }

    .client-block img {
        max-width: 6rem;
        height: auto;
    }
}




@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: absolute;
        font-size: 1.1rem;
        color: #333;
        z-index: 1010;
        cursor: pointer;
        background-color: transparent;
        border: none;
    }

    .nav-section {
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #00008B;
        justify-content: center;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        z-index: 9999;
    }

    .header-content {
        padding-left: max(1rem, 3vw);
        padding-right: max(1rem, 3vw);
        width: 100%; 
    }

    .nav-section.show {
        transform: translateX(0);
        display: flex;
        z-index: 1000;
    }

    .nav-section a {
        color: #EAEAEA;
        background: #00008B;
        text-align: center;
        font-size: 1.3rem;
        gap: 1rem;
    }

    nav {
        flex-direction: column;
        gap: 0.2rem;
        z-index: 1000;
    }

    nav a {
        font-size: 0.85rem;
    }

    nav a:hover {
        color: #333;
    }

    body {
        font-size: 0.9rem;
    }
    
    header {
        padding-left: max(1rem, 3vw);
        padding-right: max(1rem, 3vw);
    }
    
    .title-section img.shrink {
        width: 2rem; 
        transition: width 0.3s ease;
    }

    .header-content {
        padding: 0;
    }

    .title-section h1 {
        font-size: 0.85rem;
    }

    .title-section img {
        width: 2.3rem;
    }

    .intro {
        margin: 6rem 0;
    }

    .intro h1 {
        font-size: 1.2rem;
        max-width: 100%;
        line-height: 1.5;
    }

    .placeholder-section {
        width: 100%;
    }

    .placeholder-section p {
        font-size: 0.80rem;
        line-height: 1.5;
    }

    .services {
        flex-direction: column;
        gap: 1.5rem;
    }

    .services-content {
        min-width: 100%;
        padding-left: 0;
    }

    .services-header h1 {
        font-size: 1.2rem;
    }

    .services-text h1 {
        font-size: 1.2rem;
    }

    .clients-section {
        margin: 4rem 0;
    }

    .clients-title {
        font-size: 1.2rem;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .client-block img {
        width: 100%;
        height: auto;
    }

    .about-container {
        flex-direction: column;
        gap: 2rem;
    }

    .about-text {
        width: 100%;
    }

    .about-text h1 {
        font-size: 1.2rem;
    }

    .about-text p {
        font-size: 0.9rem;
    }

    .portfolio-link {
        font-size: 0.9rem;
    }

    .rates {
        grid-template-columns: 1fr 1fr;
        justify-content: space-between;
    }

    .rates-header h1 {
        font-size: 1.2rem;
    }

    .left-content h2,
    .right-content p {
        font-size: 0.95rem;
    }

    .middle-content {
        display: none;
    }

    .additional-info-mobile {
        display: block;
    }

    .additional-info-rates p {
        font-size: 0.8rem;
        color: #888;
        line-height: 1.5;
        margin-bottom: 0.5rem;
    }

    .contact-section {
        padding: 0;
        margin: 2rem 0;
        z-index: 1;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 4rem;
        margin-top: 0;
        padding-left: max(1rem, 3vw);
        padding-right: max(1rem, 3vw);
    }

    .contact-content {
        width: 100%;
    }

    .contact-info {
        margin-bottom: 1rem;
    }

    .contact-info h1 {
        font-size: 1.2rem;
    }

    .contact-info p {
        font-size: 0.9rem;
    }

    .contact-year {
        font-size: 0.8rem;
    }

    .contact-content {
        padding: 0;
        align-items: center;
    }

    .contact-content form {
        margin-bottom: 7rem;
    }

}
