body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
}

body {
    background-image: url('pics/offers1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: sans-serif;
}

.transparent-wrapper,
.box,
.language-switcher,
.back-button {
    position: relative;
    z-index: 1;
}

.page_logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    z-index: 10;
}

.pageLogo {
    position: absolute;
    max-width: 195px;
    height: 97px;
    right: 580px;
    top: 10px;
    z-index: 10;
}

.language-switcher {
    position: fixed;
    top: 22px;
    right: 30px;
    z-index: 9999;
}

.language-switcher a {
    display: inline-block;
    padding: 4px 8px;
    margin-left: 5px;
    background: rgba(216, 27, 96, 1);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    font-family: sans-serif;
    z-index: 2;
}

.language-switcher a:hover {
    background: #ff8da6;
}

.back-button {
    position: fixed;
    top: 22px;
    left: 3rem;
    text-decoration: none;
    font-size: 1rem;
    color: white;
    background: rgba(216, 27, 96, 1);
    padding: 3px 10px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: background 0.2s ease, color 0.2s ease;
    z-index: 100;
}

.back-button:hover {
    background: #ff8da6;
}

.transparent-wrapper {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 25px;
    margin: 30px auto 30px;
    max-width: 900px;
    backdrop-filter: blur(8px);
    position: relative;
    top: 80px;
}

.content-preview {
    overflow: hidden;
    max-height: 155px;
    transition: max-height 0.35s ease;
    font-size: 40px;
    font-family: "Kodchasan", sans-serif;
    font-weight: lighter;
    color: #D81B60;
}

.content-full {
    font-family: "Kodchasan", sans-serif;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease;
}

.toggle-btn {
    display: inline-block;
    margin-top: 10px;
    cursor: pointer;
    font-weight: bold;
    color: #D81B60;
    background: rgba(255, 255, 255, 0.6);
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid #ccc;
    transition: 0.2s;
}

.toggle-btn:hover {
    background: rgba(252, 229, 229, 0.85);
}

.round-button {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #48abe0;
    color: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-container {
    background: rgba(255, 255, 255, 0.3);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    backdrop-filter: blur(8px);
    border-radius: 20px;
}

.footer-section h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: #e04c65;
    font-family: "Kodchasan", sans-serif;
    font-weight: bold;
}

.footer-section p,
.footer-section li,
.footer-section a {
    font-size: 0.95rem;
    color: white;
    text-decoration: none;
    line-height: 1;
    font-weight: bold;
}

.footer-section a:hover {
    color: #ca7180;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section i {
    margin-right: 8px;
    color: #ca7180;
}

.social-links a {
    display: inline-block;
    margin-right: 12px;
    font-size: 1.3rem;
    color: white;
    transition: transform 0.3s, color 0.3s;
}

.social-links a:hover {
    transform: scale(1.2);
    color: white;
}

@media (min-width: 2560px){
    .pageLogo{
        right: 70rem;
    }
}

@media (min-width: 1920px) {
    .pageLogo {
        right: 50rem;
    }

    .back-button{
        padding: 8px 16px;
    }

    .language-switcher a{
        padding: 8px 16px;
    }
}

@media (min-width: 1400px){
    .pageLogo{
        margin-right: 1rem;
    }
}

@media (max-width: 1024px){
    .page_logo {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 10px 0 0 40px;
    }
    
    .pageLogo {
        position: static;
        max-width: 150px;
        height: auto;
    }

    .page_logo a {
        z-index: 1002;
    }
}


@media (max-width: 600px) {
    .transparent-wrapper {
        padding: 15px;
    }

    .content-preview{
        padding-bottom: 11px;
    }

    .page_logo {
        padding: 10px 0 0 25px;
    }

    .pageLogo {
        max-width: 100px;
    }

    .back-button{
        left: 1rem;
    }

    .language-switcher{
        right: 10px;
    }

    .language-switcher a{
        font-size: 10px;
        padding: 3px 6px;
        margin-right: -.3rem;
    }

    .back-button{
        padding: 2px 4px;
    }
}
