/* Reset */
body,
h3,
p,
ul,
li {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
}


.navbar {
    background-color: #333;
    overflow: hidden;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1050;
    animation: slideDown 0.6s ease-in-out;
}

.navbar ul {
    list-style-type: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.navbar li {
    flex: 1;
}

.navbar a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.navbar a:hover {
    background-color: #575757;
    transform: scale(1.05);
}


section {
    padding: 0; 
    margin-top: -20px; 
}


.content {
    text-align: center;
    background-color: #e5e5e5;
    padding: 20px; 
    margin-top: 20px; 
}


section h2 {
    margin-top: 10px; 
}


section p {
    margin-top: 10px; 
}

#gallery {
    background-color: #eee;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;  
    gap: 20px;
    justify-content: center;
    padding: 20px;
    grid-template-columns: 1fr; 
}

.grid-item {
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 8px;
    text-align: center;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-item img {
    width: 50%;
    height: auto;
    border-bottom: 2px solid #ddd;
}

.grid-item figcaption {
    padding: 10px;
    font-size: clamp(0.875rem, 3vw, 1rem); 
}


@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .navbar ul {
        flex-direction: column;
    }

    .navbar li {
        text-align: center;
    }
}



html {
    scroll-behavior: smooth;
}




.scrolling-text-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(253, 253, 253);
    width: 100%;
    position: relative;
    overflow: hidden;
     margin-top: 0;
    
}



@keyframes scrollText {
    0% {
        transform: translateX(100%);
        /* Start position on the right */
    }

    100% {
        transform: translateX(-100%);
        /* End position on the left */
    }
}

footer {
    background-color: #ffffff;
    color: #000;
    padding: 10px;
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 100;
}

footer div {
    display: flex;
    justify-content: center; 
    gap: 0px; 
    margin-bottom: 10px; 
}

.scrolling-text-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(255, 255, 255);
    margin-top: 50px;  
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 0;  
}


.scrolling-text {
    white-space: nowrap;  
    animation: scrollText 20s linear infinite;  
    font-size: 25px;
    font-weight: normal;
    font-style: normal;
}


@keyframes scrollText {
    0% {
        transform: translateX(100%);  
    }
    100% {
        transform: translateX(-100%);  
    }
}

h3 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #717171;
    text-align: center;
    margin-bottom: 20px;
    font-family: 'Arial', sans-serif;
    padding: 0px;
}

img[src="img/updtaed_sforza_logo.PNG"] {
    width: 400px;
    height: auto;
    position: relative;
    transform: translateY(85px); 
}


.section-header {
  position: relative;
  
  padding-bottom: 5px;
}

.section-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0%;
  background-color: #ff0000;
  transition: width 0.4s ease-in-out;
}

.section-header:hover::after {
  width: 100%;
}

.shop-card {
  text-align: center;
  margin: 2rem auto;
}

.shop-card .button {
  display: inline-block;
  margin: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: #212020;
  color: #ff0000;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.shop-card .button:hover {
  background-color: #444;
  transform: translateY(-2px);
}

.shop-card {
  text-align: center;
  margin: 2rem auto;
}

.button-with-rect {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #000;
  color: #fff;
  font-weight: bold;
  border-radius: 4px;
  text-decoration: none;
  font-family: 'Arial', sans-serif;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.button-with-rect:hover {
  background-color: #333;
  transform: translateY(-2px);
}

.button-with-rect .rect {
  display: inline-block;
  margin: 0 0.4rem;
  background-color: #fff;
  color: #000;
  padding: 0.1rem 0.3rem;
  border-radius: 2px;
  font-weight: bold;
}

.zforza-desc {
  margin-top: 75px; 
}



.grid-item {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
}

.grid-item:nth-child(1) { animation-delay: 0.2s; }
.grid-item:nth-child(2) { animation-delay: 0.4s; }
.grid-item:nth-child(3) { animation-delay: 0.6s; }
.grid-item:nth-child(4) { animation-delay: 0.8s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.grid-item img {
  transition: transform 0.3s ease;
}

.grid-item:hover img {
  transform: scale(1.05);
}

@media (min-width: 600px) {
  .grid-container {
    grid-template-columns: repeat(1, 1fr); 
  }
}

@media (min-width: 1024px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr); 
  }
}



.responsive-logo {
  width: 100%;        
  height: auto;       
  max-width: 100%;    
  display: block;     
  margin: 0 auto;     
}

