@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');

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

html, body {
    overflow-x: hidden;
    overflow-y: auto;
    height: auto;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    
    background-image: url('background/ryAywRk.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

main {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.showcase-content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    gap: 30px;
}

.image-showcase {
    max-width: 500px;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    max-height: none !important;
    flex-basis: 500px;
    flex-shrink: 0;
}

.product-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

.text-column-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;

    max-height: none !important;
}

.text-showcase {
    max-width: 450px;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    overflow: visible;
    max-height: none !important;
}

#random-text {
    font-size: 1.1em;
    color: #333;
    text-align: left;
    width: 100%;
    white-space: pre-wrap;
}

.promo-container {
    max-width: 450px;
    background-color: #ffd700;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 2px solid #e6c200;
    position: relative;
    overflow: hidden;

    max-height: none !important;
}

.promo-text {
    font-family: 'Anton', sans-serif;
    font-size: 1.5em;
    color: #333;
    text-align: center;
    line-height: 1.2;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.4);
}

.footer {
    background-color: #222;
    color: #bbb;
    padding: 10px 0;
    text-align: center;
    font-size: 0.8em;
    flex-shrink: 0;
    line-height: 1.4;
}

.footer .social-links a {
    color: #bbb;
    margin: 0 8px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer .social-links a:hover {
    color: #fff;
}

.promo-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: linear-gradient(
        100deg, 
        rgba(255, 255, 255, 0) 20%, 
        rgba(255, 255, 255, 0.6) 50%, 
        rgba(255, 255, 255, 0) 80%
    );
    
    transform: translateX(-100%);
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    80% { transform: translateX(100%); }
    100% { transform: translateX(100%); }
}

.address-container {
    max-width: 450px;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.address-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    color: #333;
    text-align: center;
    font-weight: 600;
}

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

    body {
        background-attachment: scroll !important;
    }

    .showcase-content {
        flex-direction: column; 
        gap: 20px;
        justify-content: flex-start; 
        padding-top: 20px;
        overflow-y: auto; 
        height: auto;
        padding-bottom: 40px;
        align-items: center;
    }

    .image-showcase,
    .text-column-wrapper,
    .text-showcase,
    .promo-wrapper,
    .promo-container,
    .address-container {
        width: 100%;
        max-width: 100%;
        max-height: none !important;
    }
}
