/* Stronę wykonał Wojciech Złonkiewicz */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #222222;
    color: #ffffff;
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


header {
    position: relative;
    background: linear-gradient(135deg, #1a2738, #333333);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

h5{
    font-size:xx-large;
}

.href_img_avatar, .avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    transition: transform 0.3s ease;
}

.href_img_avatar:hover {
    transform: scale(1.15) rotate(3deg);
}

header h1 {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    font-size: 32px;
    color: white;
    white-space: nowrap;
    text-shadow: 0 0 8px rgba(255,255,0,0.5);
}

main p{
    font-size: 19px;
    margin-top: 12px;
    margin-bottom: 12px;
}




    .social-media {
        display: flex;
        gap: 12px;
        flex-shrink: 0;
    }

    .social-media a {
        color: #ffffff;
        font-size: 28px;
        transition: transform 0.3s, color 0.3s;
    }

    .social-media img {
    width: 25px;
    height: auto;
    transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
    }

    .social-media a:hover {
        transform: scale(1.2);
        color: yellow;
    }


    .social-media a:hover img {
    transform: scale(1.03); 
    content: url("./zdj/patronite_y.png");
    }



    .about-social-media {
        display: flex;
        gap: 12px;
        justify-content: center;
        align-items: center; 
    }

    .about-social-media a {
        color: #ffffff;
        font-size: 28px;
        transition: transform 0.3s, color 0.3s;
    }

    .about-social-media img {
    width: 25px;
    height: auto;
    transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
    }

    .about-social-media a:hover {
        transform: scale(1.2);
        color: yellow;
    }


    .about-social-media a:hover img {
    transform: scale(1.03); 
    content: url("./zdj/patronite_y.png");
    }


nav {
    background: linear-gradient(135deg, #1a2738, #222);
    padding: 2px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

nav a {
    font-weight: bold;
    color: white;
    text-decoration: none;
    margin: 5px 2px;
    font-size: 15px;
    padding: 10px 15px;
    position: relative;
    transition: all 0.3s ease;
}

nav a::after {
    content: "";
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: yellow;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}


main {
    flex: 1;
    padding: 20px 15px;
}

h2 {
    font-size: 26px;
    margin-top: 15px;
    margin-bottom: 15px;
    color: yellow;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255,255,0,0.4);
}

.sort-control, .search-control {
    margin: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.sort-control label,
.search-control label {
    font-weight: bold;
    color: #ffcc00;
}

#search, #sort {
    background: #0f1824;
    border: 2px solid #333;
    color: #f1f1f1;
    padding: 0.6rem 1rem;
    border-radius: 12px;
    outline: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

#search:hover, #sort:hover {
    border-color: #ffcc00;
}

#search:focus, #sort:focus {
    border-color: #ffcc00;
    box-shadow: 0 0 10px #ffcc00aa;
}

#sort {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23ffcc00' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
    padding-right: 2.5rem;
    cursor: pointer;
}

#search::placeholder {
    color: #aaa;
    font-style: italic;
}

.welcome_img {
    width: 100%;
    height: auto;
    border-radius: 3%;
}

.about_us_img {
    width: 19.4%;
    border-radius: 2%;
    box-shadow: 5px 5px 15px black;
    margin: 0.2%;
}

.offer_menu_img {
    width: 100%;
    height: auto;
    border-radius: 5%;
    box-shadow: 5px 5px 15px black;
    transition: transform 0.3s, box-shadow 0.3s;
}

.offer_menu_img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255,204,0,0.4);
}


.offer_menu {
    display: flex;
    justify-content: center;
    gap: 2%;
    flex-wrap: wrap;
}

.select_snakes {
    flex: 1 1 30.8%;
    max-width: 30.8%;
    min-width: 30.8%;
    text-align: center;
}

.select_snakes a {
    text-decoration: none;
    color: white;
}

.select_snakes h3 {
    height: 1.2%;
}

.offer_list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.offer_item {
    background: linear-gradient(145deg, #2a2a2a, #333333);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.7);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 20%;
    max-width: 20%;
    text-align: center;
    padding: 15px;
    margin: 10px;
}

.offer_item:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 12px 25px rgba(255,204,0,0.7);
}

.reserved {
    color: orange;
    font-weight: bold;
}

.defects{
    color: red;
}

.raw_petfood {
    display: inline-block;
    margin: 1%;
    width: 10%;
    height: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}



.raw_petfood:hover{
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255,204,0,0.4);

}

a{
    text-decoration: none;
}
a{
    color: white;
}

.offer_img {
    width: 80%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.offer_img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255,204,0,0.4);
}

.offer_title {
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 8px;
}

.offer_price {
    font-size: 16px;
    color: #ffcc00;
    margin-bottom: 12px;
}

.offer_link {
    text-decoration: none;
    background: linear-gradient(135deg, #ffcc00, #e6b800);
    color: #222222;
    padding: 10px 15px;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
}

.offer_link:hover {
    background: linear-gradient(135deg, #ffd633, #e6b800);
    transform: scale(1.05);
}

.gender img {
    width: 1em;
    height: auto;
    vertical-align: middle;
}


.zoomed-image-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(rgba(0,0,0,0.9), rgba(0,0,0,0.95));
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.zoomed-image {
    width: auto;
    max-width: 50%;
    height: auto;
    max-height: 70%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.8);
    animation: zoomIn 0.3s ease;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.close:hover {
    transform: scale(1.2);
    color: yellow;
}

.gallery {
    column-count: 5;          
    column-gap: 1.47%;         
    padding: 1%;
    margin-bottom: 10px;
}

.gallery img {
    width: 100%;
    margin-bottom: 38px;
    border-radius: 10px;
    display: block;
    cursor: pointer;
    transform: scale(1);
    opacity: 0; 
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.5s ease; 
    box-shadow: 5px 5px 15px black; 
}

.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255,204,0,0.4); 
}

.zoomed-image-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.zoomed-image-container .zoomed-image {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    animation: zoomIn 0.3s;
}

.zoomed-image-container .close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .about-social-media a{
        margin:10px
    }

    header h1 { 
        font-size: 30px; 
    }

    nav a { 
        font-size: 20px; 
        padding: 8px 17px; 
    }

    .raw_petfood { 
        width: 20%; 
    }

    .social-media img{
        height: 30px;
        width: auto;
        gap: 2px;
    }

    .social-media {
        margin-right: -8px;
        gap: 2px;
    }

    .social-media a {
        font-size: 25px;
        margin: 16px 0 16px 16px;
    }

    main p,h3{
        font-size: 22px;
        margin-bottom: 2px;
        margin-top: 2px;
    }

    h2{
        margin-top: 2px;
        margin-bottom: 5px;
    }

    main h3{
        font-size: 22px;
        margin-bottom: 10px;
    }

    .select_snakes {
        flex: 1 1 30.8%;
        max-width: 47%;
        min-width: 47%;
        text-align: center;
    }

    .select_snakes img{
        width: 100%;
    }

    .select_snakes a {
        text-decoration: none;
        color: white;
    }

    .select_snakes h3 {
        height: 1.2%;
        margin-bottom: 32px;
    }

    .about_us_img, 
    .kontakt_img { 
        width: 30%; 
        margin: 3px 3px; 
    }

    .gallery {
        column-count: 3;   
        column-gap: 1.5%;
    }

    .gallery img {
        width: 95%;
        display: block;
        border-radius: 10px;
        margin: 10px;
    }

    .offer_item { 
        max-width: 35%; 
        margin: 5px 0; 
    }

    .offer_img{
        width: 100%;
        align-items: center;
    }

    .offer_item p, .offer_item h3{
        font-size: 20px;
    }


}

@media (min-width: 481px) and (max-width: 768px) {
    .about-social-media a{
        margin:10px
    }

    header h1 { 
        font-size: 20px; 
        margin-left: -50px;
    }

    nav a { 
        font-size: 20px; 
        padding: 8px 17px; 
    }

    .raw_petfood { 
        width: 25%; 
    }

    .social-media img{
        height: 0px;
        width: auto;
        gap: 2px;
    }

    .social-media {
        margin-right: -8px;
        gap: 2px;
    }

    .social-media a {
        font-size: 25px;
        margin: 16px 0 16px 16px;
    }

    main p,h3{
        font-size: 18px;
        margin-bottom: 2px;
        margin-top: 2px;
    }

    h2{
        margin-top: 2px;
        margin-bottom: 5px;
    }

    main h3{
        font-size: 18px;
        margin-bottom: 10px;
    }

    .select_snakes {
        flex: 1 1 30.8%;
        max-width: 90%;
        min-width: 90%;
        text-align: center;
    }

    .select_snakes img{
        width: 100%;
    }

    .select_snakes a {
        text-decoration: none;
        color: white;
    }

    .select_snakes h3 {
        height: 1.2%;
        margin-bottom: 20px;
    }

    .about_us_img, 
    .kontakt_img { 
        width: 30%; 
        margin: 3px 3px; 
    }

    .gallery {
        column-count: 2;
        column-gap: 1.5%;
    }

    .gallery img {
        width: 95%;
        display: block;
        border-radius: 10px;
        margin: 10px;
    }

    .offer_item { 
        max-width: 35%; 
        min-width: 35%;
        margin: 5px 0; 
    }

    .offer_img{
        width: 100%;
        align-items: center;
    }

    .offer_item p, .offer_item h3{
        font-size: 16px;
    }


}

@media (min-width:361px) and (max-width: 480px) {
    .about-social-media a{
        margin:10px
    }

    header h1 { 
        font-size: 20px; 
        margin-left: -50px;
    }

    nav a { 
        font-size: 20px; 
        padding: 8px 17px; 
    }

    .raw_petfood { 
        width: 25%; 
    }

    .social-media img{
        height: 0px;
        width: auto;
        gap: 2px;
    }

    .social-media a{
        font-size:25px;
        margin: 13px;
        margin-right: -2px;
    }

    main p,h3{
        font-size: 18px;
        margin-bottom: 2px;
        margin-top: 2px;
    }

    h2{
        margin-top: 2px;
        margin-bottom: 5px;
    }

    main h3{
        font-size: 18px;
        margin-bottom: 10px;
    }

    .select_snakes {
        flex: 1 1 30.8%;
        max-width: 90%;
        min-width: 90%;
        text-align: center;
    }

    .select_snakes img{
        width: 100%;
    }

    .select_snakes a {
        text-decoration: none;
        color: white;
    }

    .select_snakes h3 {
        height: 1.2%;
        margin-bottom: 20px;
    }

    .about_us_img, 
    .kontakt_img { 
        width: 30%; 
        margin: 3px 3px; 
    }

    .gallery {
        column-count: 2;  
        column-gap: 1.5%;
    }

    .gallery img {
        width: 95%;
        display: block;
        border-radius: 10px;
        margin: 10px;
    }

    .offer_item { 
        max-width: 35%; 
        min-width: 35%;
        margin: 5px 0; 
    }

    .offer_img{
        width: 100%;
        align-items: center;
    }

    .offer_item p, .offer_item h3{
        font-size: 16px;
    }


}

@media (min-width:0px) and (max-width: 360px) {

    

    .avatar{
        margin-left: -30px;
    }

    header h1 { 
        font-size: 20px; 
        margin-left: -50px;
    }

   

    nav a { 
        font-size: 20px; 
        padding: 5px 15px; 
    }

    .raw_petfood { 
        width: 25%; 
    }

    .social-media img{
        height: 0px;
        width: auto;
        gap: 2px;
    }

    .social-media a{
        font-size:25px;
        margin: 13px;
        margin-right: 0px;
    }

    .social-media {
        margin-right: -23px;
        gap: 2px;
    }

    main p,h3{
        font-size: 18px;
        margin-bottom: 2px;
        margin-top: 2px;
    }

    h2{
        margin-top: 2px;
        margin-bottom: 5px;
    }

    main h3{
        font-size: 18px;
        margin-bottom: 10px;
    }

    .select_snakes {
        flex: 1 1 30.8%;
        max-width: 90%;
        min-width: 90%;
        text-align: center;
    }

    .select_snakes img{
        width: 100%;
    }

    .select_snakes a {
        text-decoration: none;
        color: white;
    }

    .select_snakes h3 {
        height: 1.2%;
        margin-bottom: 20px;
    }

    .about_us_img, 
    .kontakt_img { 
        width: 30%; 
        margin: 3px 3px; 
    }

    .gallery {
        column-count: 2; 
        column-gap: 1.5%;
    }

    .gallery img {
        width: 95%;
        display: block;
        border-radius: 10px;
        margin: 10px;
    }

    .offer_item { 
        max-width: 35%;
        min-width: 35%; 
        margin: 5px 0; 
    }

    .offer_img{
        width: 100%;
        align-items: center;
    }

    .offer_item p, .offer_item h3{
        font-size: 16px;
    }


}



