@import url("../../styles/global.css");
@import url("../../styles/variables.css");

/* =========================================
   Global / Body
   ========================================= */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    align-items: stretch;
    overflow-x: hidden;
    margin: 0;
}

a {
    color: white;
    text-decoration: none;
}

footer {
    width: 100%;
}

main {
    flex: 1;
    padding-top: 73px;
    max-width: 1300px;
    margin: 0 auto;
}


/* =========================================
   Header Styles
   ========================================= */
header {
    background: var(--red-v700, #E30613);
    width: 100%;
    position: fixed;
    z-index: 1;
}

.header-content {
    display: flex;
    max-width: 1300px;
    margin: 0 auto;
    height: 73.254px;
    padding: 14px 30px;
    justify-content: space-between;
    align-items: center;

}

.menu-button {
    cursor: pointer;
}

.menu-options {
    width: 100%;
    max-width: 1300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 30px;
    margin: 0 auto;
    z-index: 1;
    background-color: var(--red-v700);
    transition: all 0.4s ease-in-out;

    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

.menu-options.open {
    max-height: 500px;
    opacity: 1;
}

.menu-options a {
    color: var(--grey-c100, #FFF);
    margin-bottom: 10px;
    text-align: center;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;  
    /* 22.4px */
    padding: 10px 25px;
    border-radius: 4px;
}

.menu-options a:hover {
    background-color: var(--red-v800);
}

/* =========================================
   Main / What-is
   ========================================= */

.whas_is {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.whas_is h1 {
    font-size: 3.75rem;
    font-weight: 800;
    line-height: 140%;
    margin-top: 40px;
    margin-bottom: 40px;
}

.whas_is img {
    width: 85%;
}

.conteine-title {
    display: flex;
    align-items: center;
    justify-content: center;
}

.conteine-rack5 {
    border-radius: 10px;
    border: 1px solid #b6b6b6;
    padding: 22px 16px;
    display: flex;
    flex-direction: column;
}

.conteine-rack5 h2 {
    font-size: 1.875rem;
    font-weight: 600;
    line-height: 150%;
}

.conteine-rack5 p {
    font-size: var(--text-base);
    font-weight: 400;
    line-height: 140%;
    color: #3b3b3b;
}

.conteine-rack5 li {
    font-size: 1rem;
    font-weight: 400;
    line-height: 140%;
    color: #3b3b3b;
}

.lists {
    margin-top: 15px;
    margin-bottom: 15px;
    margin-left: 20px;
}

.conteine-rack5 .conteiner-link {
    display: flex;
    justify-content: flex-end;
}

.conteine-rack5 .conteiner-link a {
    color: #1e1e1e;
    font-size: 1rem;
    font-weight: 400;
    line-height: 140%;
}

/* =========================================
   Main / Service Styles
   ========================================= */
.services-document {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.services-document > h2 {
    padding-top: 20px;
    width: 100%;
    border-top: 2px solid var(--grey-c500);
    text-align: center;
    font-size: 1.875rem;
    font-weight: 600;
    color: var(--grey-c1000);
    margin-bottom: 20px;
}

.service-document {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 20px;
    width: 100%;
    padding-bottom: 20px;
}

.service-dropdown {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    cursor: pointer;
}

.service-dropdown > h3 {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--grey-c1000);
}

img.icon-closed {
    display: none;
}

.service-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    width: 100%;
}

.service-content.open {
    max-height: 2000px;
    opacity: 1;
}

.service-content > p {
    font-size: 1rem;
    font-weight: 400;
    color: var(--grey-c900);
    text-align: justify;
    width: 100%;
}

.service-content > img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.service-content > a {
    align-self: flex-end;
    font-size: 1rem;
    font-weight: 300;
    color: var(--grey-c700);
    text-decoration: underline;
    margin-top: 10px;
}

/* =========================================
   Footer Styles
   ========================================= */
.site-footer {
    background: var(--red-v700);
    color: var(--grey-c100);
    display: flex;
    padding: 20px 24px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    width: 100%;
}

.footer-columns {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
}

.footer-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: space-around;
}

.footer-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    max-width: 420px;
}

.footer-title {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-semibold);
    text-align: center;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.footer-links a {
    font-size: var(--text-xl);
    text-decoration: none;
    color: var(--grey-c100);
}

.footer-back-to-top {
    font-weight: var(--font-weight-semibold);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-back-to-top:hover,
.footer-back-to-top:focus-visible {
    text-decoration: underline;
}

.social {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social a img {
    width: 28px;
    height: 28px;
    display: block;
}

.access-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.footer-group p a {
    color: var(--grey-c100);
    font-weight: 500;
}

/* Responsive adjustments */
@media (min-width: 380px) {
    .conteine-rack5 {
        width: 90%;
    }

    .services-document > h2 {
        font-size: 3rem;
    }

    .service-dropdown > h3 {
        font-size: 1.5rem;
    }

    .service-content > p {
        font-size: 1.125rem;
    }

    .what-is-rack h1 {
        font-size: 3rem;
    }

    .content-container h2 {
        font-size: 2rem;
    }

    .content-container h3 {
        font-size: 1.5rem;
    }

    .content-container p,
    .content-container ul li {
        font-size: 1.125rem;
    }
}

@media (max-width: 730px) {
    .footer-columns {
        flex-direction: column;
        gap: 30px;
    }
}