/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Global Styles */
body {
    min-height: 100vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    font-family: 'Poppins', sans-serif;
}

/* Navbar */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%; /* Reduced padding to make the navbar 10px shorter */
    background-color: white;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.logo img {
    height: 35px; /* Reduced image height to maintain proportions */
    cursor: pointer;
}

.nav__links {
    list-style: none;
    display: flex;
}

.nav__links li {
    padding: 0 20px;
}

.nav__links a {
    font-weight: 500;
    color: #686868; /* Unified color */
    text-decoration: none;
    transition: color 0.3s;
}

.cta {
    padding: 7px 25px; /* Reduced padding to maintain proportions */
    background-color: #00bcd4; /* Unified background color */
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.menu {
    display: none;
    cursor: pointer;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 0;
    overflow: hidden;
    z-index: 1005;
    background-color: rgba(255, 255, 255, 0.205);
    backdrop-filter: blur(10px);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    transition: width 0.5s;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 40px;
}

.sidebar.active {
    width: 250px;
}

.sidebar__content {
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.sidebar a {
    width: 100%;
    padding: 10px 0;
    font-size: 18px;
    color: black;
    text-decoration: none;
    transition: color 0.3s;
}

.sidebar .close {
    position: absolute;
    top: 20px;
    left: 20px;
    cursor: pointer;
    opacity: 0;
    transform: scale(0);
    transition: opacity 0.3s, transform 0.3s;
}

.sidebar a:hover {
    color:black;
}
.sidebar .close.visible {
    opacity: 1;
    transform: scale(1);
}

#new-cart {
    padding-left: 3px;
}

.contact {
    position: relative;
    margin-top: 85px;
    min-height: 100vh;
    padding: 50px 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-image: url(../images/bg.jpg);
    background-size: cover;
}
.contact .content {
    max-width: 800px;
    text-align: center;
}

.contact .content h2 {
    font-size: 36px;
    font-weight: 500;
    color: #fff;
}
.contact .content p {
    font-weight: 300;
    color: #fff;
}
.container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}
.container .contactInfo {
    width: 50%;
    display: flex;
    flex-direction: column;
}
.container .contactInfo .box {
    position: relative;
    padding: 20px 0;
    display: flex;
}
.container .contactInfo .box .icon {
    min-width: 60px;
    height: 60px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-size: 22px;
}
.container .contactInfo .box .text {
    display: flex;
    margin-left: 20px;
    font-size: 16px;
    color: #fff;
    flex-direction: column;
    font-weight: 300;
}
.container .contactInfo .box .text h3 {
    font-weight: 500;
    color: #00bcd4;
}
.contactForm {
    width: 40%;
    padding: 40px;
    background: #fff;
    
}

.contactForm h2 {
    font-size: 30px;
    color: #333;
    font-weight: 500;
}

.contactForm .inputBox {
    position: relative;
    width: 100%;
    margin-top: 10px;
}

.contactForm .inputBox input ,
.contactForm .inputBox textarea {
    width: 100%;
    padding: 5px 0;
    font-size: 16px;
    margin: 10px 0;
    border: none;
    border-bottom: 2px solid #333;
    outline: none;
    resize:  none;
}
.contactForm .inputBox span {
    position: absolute;
    left: 0;
    padding: 5px 0;
    font-size: 16px;
    margin: 10px 0;
    pointer-events: none;
    transition: 0.5s;
    color: #666;
}
.contactForm .inputBox input:focus ~ span,
.contactForm .inputBox input:valid ~ span,
.contactForm .inputBox textarea:focus ~ span,
.contactForm .inputBox textarea:valid ~ span
{
    color: #e91e63;
    font-size: 12px;
    transform: translateY(-20px);
}
.contactForm .inputBox input[type="submit"]{
    width: 100px;
    background: #00bcd4;
    color:#fff;
    border: none;
    cursor: pointer;
    padding: 10px;
    font-size: 18px;
    border-radius: 10px;
}

/* Footer */
/* Footer */
.footer {
    background-color: #222;
    color: white;
    padding: 40px 10%;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Zmienione na center */
    gap: 20px;
    align-items: flex-start; /* Zmienione na flex-start */
}

.footer h3 {
    font-size: 1.5em;
    margin-bottom: 20px;
}

.footer p {
    font-size: 1em;
    line-height: 1.5;
}

.footer-left, .footer-center, .footer-right {
    flex: 1 1 300px; /* Ustawienie szerokości elastycznej z minimalną szerokością 300px */
    max-width: 300px; /* Maksymalna szerokość dla elastyczności */
}

.footer .social-icons {
    display: flex;
    gap: 10px;
}

.footer .social-icons a img {
    width: 30px;
    height: 30px;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9em;
    border-top: 1px solid #444;
    padding-top: 10px;
}
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.sidebar .close.rotating {
    animation: rotate 0.5s ease-in-out;
}

/* Responsive Styles */
@media (max-width: 850px) {
    .nav__links, .cta {
        display: none;
    }
    .menu {
        display: inline-block;
    }
    header {
        padding: 20px 10%; /* Reduced padding to make the navbar 10px shorter */
    }
}

@media (max-width: 400px) {
    .sidebar.active {
        width: 100%;
    }
}
@media (max-width: 991px) {
    .contact 
    {
        padding: 50px;
    }
    .container {
        flex-direction: column;
    }
    .container .contactInfo {
        margin-bottom: 40px;
    }
    .container .contactInfo,
    .contactForm {
        width: 100%;
    }
}
.footer-center p a{
    color: #fff;
}
