/* barlow-300 - latin */
@font-face {
    font-display: swap;
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 300;
    src: url('barlow-v12-latin-300.woff2') format('woff2');
}
/* barlow-600 - latin */
@font-face {
    font-display: swap;
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 600;
    src: url('barlow-v12-latin-600.woff2') format('woff2');
}

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

body {
    font-family: 'Barlow', sans-serif;
    font-weight: 300;
    overflow-x: hidden;
    font-size: 18px;
    line-height: 170%;
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.00) 37.28%), url('Porsche-Header-Zeitwerk.webp') lightgray 0px -150.759px / 100% 115.714% no-repeat;
    background-size: cover;
    background-position: 50% 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    color: white;
}

.hero-content {
    position: absolute;
    top: 110px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 2;
}

.logo-container {
    opacity: 0;
    animation: fadeInLogo 1.5s ease-in-out 0.1s forwards;
}

.logo-svg {
    width: 480px;
    height: auto;
}

.hero-bottom {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 2;
}

.hero-title {
    font-size: 35px;
    font-weight: 600;
    letter-spacing: 1.25rem;
    opacity: 0;
    animation: expandLetterSpacing 2s ease-in-out 1.2s forwards;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    letter-spacing: 0.1rem;
    font-weight: 300;
    opacity: 0;
    animation: fadeInSubtitle 0.8s ease-in-out 2s forwards;
}

/* Content Section */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.intro-container {
    display: flex;
    justify-content: space-between;
    margin: 150px 0;
    font-size: 20px;
}

.intro-text {
    line-height: 200%;
    text-align: right;
    width: 55%;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.intro-text.animate {
    opacity: 1;
    transform: translateY(0);
}

.contact-section {
    width: 35%;
    align-self: center;
}

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

.phone-number {
    font-size: 40px;
    font-weight: 600;
    a {
    color: #000;
    text-decoration: none;
    }
}

.content-row {
    display: flex;
    align-items: flex-start;
    gap: 4rem;
}

.content-left {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.service-block {
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.service-block.animate {
    opacity: 1;
    transform: translateY(0);
}

.service-title {
    font-size: 18px;
    font-weight: 600;
}

.content-right {
    flex: 1;
    width: -webkit-fill-available;
    height: -webkit-fill-available;
    margin-right: calc(-50vw + 700px);
}

.content-right-img {
    background: url("Porsche-interior-side.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    min-height: 400px;
    opacity: 0;
    transform: translateX(100px);
    transition: all 1s ease-out;
}

.content-right-img.animate {
    opacity: 1;
    transform: translateX(0);
}

.bottom-section {
    margin: 170px 0;
}

.bottom-content {
    max-width: 950px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.bottom-content p {
    margin-bottom: 1rem;
}

.bottom-title {
    font-size: 40px;
    margin-bottom: 2rem;
    line-height: 120%;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.bottom-title.animate {
    opacity: 1;
    transform: translateY(0);
}

.bottom-text {
    font-size: 24px;
    margin-bottom: 2rem;
}

.container {
    max-width: 1400px;
    padding: 0 1rem;
    margin: 0 auto;
}

header .logo {
    padding: 1rem 0 4rem;
    display: block;
}

header .logo svg {
    width:250px;
}

.text-page {
    .main-content {
        margin-bottom: 4rem;

        p {
            margin: 1rem 0;
        }

        h1 {
            margin: 2rem 0;
        }
    }
}

.footer {
    background-color: #6B655C;
    color: #fff;
    padding: 3rem 0;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    border-bottom: 1px solid #ffffff;
    padding-bottom: 3rem;
}

.footer-menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-menu a {
    color: #fff;
}

.footer-menu h4 {
    font-size: 1.25rem;
}

.footer-right {
    display: flex;
    gap: 3rem;
}

.footer-text {
    text-align: right;
    max-width: 380px;
}

.footer-information {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    a {
    color: #fff;
    text-decoration: none;
    }
}

.footer-information p {
    display: flex;
    align-items: flex-start;
}

.footer-information svg {
    display: block;
    margin-right: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    text-align: center;
    margin-top: 1rem;
}

.footer-bottom a {
    font-size: 16px;
    color: #fff;
    text-decoration: none;
}

/* Animations */
@keyframes fadeInLogo {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes expandLetterSpacing {
    0% {
        opacity: 0;
        letter-spacing: 0;
    }
    50% {
        opacity: 1;
        letter-spacing: 1.25rem;
    }
    100% {
        opacity: 1;
        letter-spacing: 1.25rem;
    }
}

@keyframes fadeInSubtitle {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* LARGE TABLET STYLES */
@media (max-width: 1200px) {
    .content-right {
        margin-right: calc(-50vw + 600px);
    }
}

/* TABLET STYLES */
@media (max-width: 1024px) {
    .main-content {
        padding: 0 2rem;
    }

    .intro-container {
        margin: 100px 0;
        gap: 2rem;
    }

    .intro-text {
        width: 60%;
        font-size: 18px;
    }

    .contact-section {
        width: 40%;
    }

    .phone-number {
        font-size: 32px;
    }

    .content-row {
        gap: 2rem;
        overflow: hidden;
    }

    .content-right {
        margin-right: calc(-50vw + 512px);
    }

    .content-right-img {
        min-height: 350px;
        width: 100%;
    }

    .bottom-section {
        margin: 120px 0;
    }

    .bottom-title {
        font-size: 32px;
    }

    .bottom-text {
        font-size: 20px;
    }

    .footer-content {
        gap: 2rem;
    }

    .footer-right {
        gap: 2rem;
    }

    .footer-text {
        max-width: 280px;
    }
}

/* MEDIUM TABLET STYLES */
@media (max-width: 900px) {
    .content-right {
        margin-right: calc(-50vw + 450px);
    }

    .content-right-img {
        min-height: 320px;
    }
}

/* SMALL TABLET STYLES */
@media (max-width: 820px) {
    .main-content {
        padding: 0 1.5rem;
    }

    .content-right {
        margin-right: calc(-50vw + 410px);
    }

    .content-right-img {
        min-height: 300px;
    }
}

/* MOBILE STYLES */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    .hero-content {
        top: 60px;
    }

    .logo-svg {
        width: 320px;
    }

    .hero-bottom {
        bottom: 30px;
    }

    .hero-title {
        font-size: 24px;
        letter-spacing: 0.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        letter-spacing: 0.05rem;
    }

    .main-content {
        padding: 0 1rem;
    }

    .intro-container {
        flex-direction: column;
        margin: 80px 0;
    }

    .intro-text {
        width: 100%;
        text-align: center;
    }

    .contact-section {
        width: 100%;
        text-align: center;
    }

    .phone-number {
        font-size: 28px;
    }

    .content-row {
        flex-direction: column;
        gap: 3rem;
    }

    .content-left {
        max-width: 100%;
    }

    .content-right {
        margin-right: 0;
        width: 100%;
        order: -1;
    }

    .content-right-img {
        min-height: 250px;
    }

    .service-block {
        margin-bottom: 2rem;
    }

    .service-title {
        font-size: 16px;
        margin-bottom: 0.5rem;
    }

    .bottom-section {
        margin: 100px 0;
    }

    .bottom-title {
        font-size: 24px;
        margin-bottom: 1.5rem;
    }

    .bottom-text {
        font-size: 16px;
    }


    .footer-content {
        flex-direction: column;
    }

    .footer-right {
        flex-direction: column;
    }

    .footer-text {
        text-align: left;
        max-width: 100%;
    }

    .footer-information p {
        gap: 0.5rem;
    }

    .footer-information svg {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
}

/* SMALL MOBILE STYLES */
@media (max-width: 480px) {
    .hero-section {
        height: 75vh;
        background-position: 70% 100%;
    }
    .hero-content {
        top: 40px;
    }

    .logo-svg {
        width: 280px;
    }

    .hero-bottom {
        bottom: 20px;
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 20px;
        letter-spacing: 0.3rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .intro-container {
        margin: 60px 0;
    }

    .phone-number {
        font-size: 24px;
    }

    .content-right-img {
        min-height: 200px;
    }

    .bottom-section {
        margin: 80px 0;
    }

    .bottom-title {
        font-size: 20px;
    }

    .service-title {
        font-size: 15px;
    }
}