:root {
  --maintxt: #794e0d;       /* Temno olivno-zelena, bolj čista */
  --body-txt: #000000;      /* Mehka naravna olivno-siva */
  --subtext: #88745d;       /* Svetla olivna za sekundarni tekst */
  --footerbg: #2D403D;      /* Enaka kot glavna temna za enotnost */
  --main-bg: #F5F2EB;       /* Še svetlejša, moderna topla bež */
  --menu-bg: #b3652d5d;       /* Glavni meni v temni olivno-zeleni */
  --product-bg: #E9E4D8;    /* Svetla topla bež za sekcije */
  --crack: #E9E4D8;         /* Prehodne sekcije */
  --second-main: #C48A69;   /* Lep opečnato-topel ton (ne premočan) */
  --btn-bg: #C48A69;        /* Gumbi v toplih tonih */
  --btn-border: #C48A69;
  --icon-hover: #A47149;    /* Opečnata za hover efekt */
  --icon-hover-txt: #F5F2EB; /* Svetlo besedilo na hoverju */
  --icon-colour: #2D403D;   /* Ikone v osnovni temno olivni */
  --graphite: #232323;


  --shadow: 0 8px 32px rgba(27,42,54,0.14);
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
  }

  html {
    scroll-behavior: smooth;
  }


  /* RESET & BASE */
  *,
  *::before,
  *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  body {
    font-family: "Work Sans", sans-serif;
    background-color: var(--main-bg);
    background-image: url('https://www.transparenttextures.com/patterns/concrete-wall.png');
    background-repeat: repeat;
    background-size: 600px;
    background-position: 0 0;
    animation: cementRollVertical 120s linear infinite;
    color: var(--body-txt);
    min-height: 200vh;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
  }
  
  /* Optional: faint lighting effect overlay */
  body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(circle at 50% 30%, rgba(255,255,255,0.02) 0%, transparent 70%);
    animation: floatLight 90s ease-in-out infinite alternate;
  }
  
  /* Rolling vertical texture */
  @keyframes cementRollVertical {
    0% { background-position: 0 0; }
    100% { background-position: 0 2000px; }
  }
  
  /* Optional: floating light texture for natural shift */
  @keyframes floatLight {
    0% { transform: translateY(0px); }
    100% { transform: translateY(10px); }
  }
  /* Main menu container and cards */
  .main-menu-container {
    background: var(--menu-bg);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    top: 0;
    z-index: 200;
  }
  
  .product-card {
    background: var(--product-bg);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    top: 0;
    z-index: 200;
  }

  .footer-container {
    background: var(--footerbg);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    top: 0;
    z-index: 200;
  }

  @keyframes metalTilt {
    from { transform: rotateZ(-2deg); }
    to { transform: rotateZ(2deg); }
  }
  
  /* Simulate slab lines on cards */
  .main-menu-container::before,
  .product-card::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 40%;
    height: 1.5px;
    background:
      repeating-linear-gradient(120deg, transparent, transparent 120px, var(--shadow) 121px, transparent 123px),
      repeating-linear-gradient(60deg, transparent, transparent 200px, var(--shadow) 202px, transparent 204px);
    opacity: 0.13;
    opacity: 0.25;
    pointer-events: none;
    z-index: 2;
  }

  

  .product-card::before { top: 60%; }
  .main-menu-container::after,
  .product-card::after {
    content: "";
    position: absolute;
    top: 0; bottom: 0; left: 60%;
    width: 1.5px;
    background:
    repeating-linear-gradient(120deg, transparent, transparent 120px, var(--shadow) 121px, transparent 123px),
    repeating-linear-gradient(60deg, transparent, transparent 200px, var(--shadow) 202px, transparent 204px);
  opacity: 0.13;
    opacity: 0.18;
    pointer-events: none;
    z-index: 2;
  }
  .product-card::after { left: 30%; }
  
  /* Menu background image */
  .menu-bg-image {
    width: 100%;
    height: 40v; /* or taller if your logo is very tall */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    overflow: hidden;
    position: relative;
  }
  
  .menu-bg-image img {
    height: 100%;
    width: auto;
    max-width: 40vw; /* adjust as needed for your logo */
    object-fit: contain;
    display: block;
    margin: 0 auto;
    filter: grayscale(0.1) brightness(0.9) blur(0.5px);
    opacity: 0.94;
  }
  
  .nase-storitve-box:hover,
  .product-card:hover {
  transform: translateY(-6px) scale(1.03) rotateZ(-1.5deg);
  box-shadow: var(--shadow-strong);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1), box-shadow 0.35s cubic-bezier(.4,0,.2,1);
}

  
  /* Main menu container and cards */
  .main-menu-container {
    background: var(--menu-bg);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    top: 0;
    z-index: 200;
  }
  
  .product-card {
    background: var(--product-bg);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    top: 0;
    z-index: 200;
  }

  .footer-container {
    background: var(--footerbg);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    top: 0;
    z-index: 200;
  }

  @keyframes metalTilt {
    from { transform: rotateZ(-2deg); }
    to { transform: rotateZ(2deg); }
  }
  
  /* Simulate slab lines on cards */
  .main-menu-container::before,
  .product-card::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 40%;
    height: 1.5px;
    background:
      repeating-linear-gradient(120deg, transparent, transparent 120px, var(--shadow) 121px, transparent 123px),
      repeating-linear-gradient(60deg, transparent, transparent 200px, var(--shadow) 202px, transparent 204px);
    opacity: 0.13;
    opacity: 0.25;
    pointer-events: none;
    z-index: 2;
  }

  

  .product-card::before { top: 60%; }
  .main-menu-container::after,
  .product-card::after {
    content: "";
    position: absolute;
    top: 0; bottom: 0; left: 60%;
    width: 1.5px;
    background:
    repeating-linear-gradient(120deg, transparent, transparent 120px, var(--shadow) 121px, transparent 123px),
    repeating-linear-gradient(60deg, transparent, transparent 200px, var(--shadow) 202px, transparent 204px);
  opacity: 0.13;
    opacity: 0.18;
    pointer-events: none;
    z-index: 2;
  }
  .product-card::after { left: 30%; }
  
  /* Menu background image */
  .menu-bg-image {
    width: 100%;
    height: 40v; /* or taller if your logo is very tall */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    overflow: hidden;
    position: relative;
  }
  
  .menu-bg-image img {
    height: 100%;
    width: auto;
    max-width: 40vw; /* adjust as needed for your logo */
    object-fit: contain;
    display: block;
    margin: 0 auto;
    filter: grayscale(0.1) brightness(0.9) blur(0.5px);
    opacity: 0.94;
  }
  
  .nase-storitve-box:hover,
  .product-card:hover {
  transform: translateY(-6px) scale(1.03) rotateZ(-1.5deg);
  box-shadow: var(--shadow-strong);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1), box-shadow 0.35s cubic-bezier(.4,0,.2,1);
}

  
  /* Menu section */
  .menu-btn-section {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: flex-end;
    background: transparent;
    padding: 1.3rem 1rem 1.1rem 1rem;
    gap: 1.5rem;
    position: relative;
    z-index: 1000;
    margin-top: -40px;
    animation: navShadow linear both;
    animation-timeline: scroll(root);
    position: sticky;
    top: 0;
  }

  @keyframes navShadow {
    to { box-shadow: var(--shadow-strong); }
  }

  .menu-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    text-decoration: none;
    color: var(--blac);
    font-size: 1.13rem;
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    font-weight: 700;
    min-width: 100px;
    padding: 0.85rem 0.7rem;
    border-radius: 0.7rem;
    padding-top: 2rem;
    transition: 
      background var(--btn-bg), 
      color var(--maintxt);
    box-shadow: none;
    position: relative;
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }
  .menu-btn .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-bottom: 0.1rem;
    background: var(--black);
    border-radius: 50%;
    padding: 0.2em;
    animation: iconBounce 2.2s infinite;
  }
  @keyframes iconBounce {
    0%, 100% { transform: translateY(0);}
    50% { transform: translateY(-6px);}
  }
  .menu-btn .icon svg {
    width: 22px;
    height: 22px;
    display: block;
    stroke: var(--icon-hover);
    transition: stroke var(--transition);
  }
  .menu-btn span:last-child {
    font-size: 1.13rem;
    letter-spacing: 0.04em;
  }
  .menu-btn:hover,
  .menu-btn:focus {
    background: var(--icon-colour);
    color: var(--icon-hover-txt);
    transform: translateY(-3px) scale(1.05);
  }
  .menu-btn:hover .icon,
  .menu-btn:focus .icon {
    background: var(--icon-hover);
  }
  .menu-btn:hover .icon svg,
  .menu-btn:focus .icon svg {
    stroke: #fff;
  }
 
  /* Animated SVG icon stroke */
  .icon-anim {
    stroke-dasharray: 56;
    stroke-dashoffset: 56;
    animation: iconDraw 0.7s forwards;
  }
  .menu-btn:hover .icon-anim,
  .menu-btn:focus .icon-anim {
    animation: iconDraw 0.7s forwards, iconPulse 1s infinite alternate;
  }
  @keyframes iconDraw {
    to { stroke-dashoffset: 0; }
  }
  @keyframes iconPulse {
    0% { stroke: var(--accent);}
    100% { stroke: #fff;}
  }
  /* Highlight home button */
  .menu-btn-home {   
     color: #000;
  }
  .menu-btn-home .icon {
    background: var(--icon-hover-txt);
  }
  .menu-btn-home .icon svg {
    stroke: var(--icon-colour);
  }
  .menu-btn-home:hover,
  .menu-btn-home:focus {
    background: var(--icon-colour);
    color: var(--icon-hover-txt);
  }
  .menu-btn-home:hover .icon,
  .menu-btn-home:focus .icon {
    background: var(--icon-hover);
  }
  .menu-btn-home:hover .icon svg,
  .menu-btn-home:focus .icon svg {
    stroke: var(--icon-hover-txt);
  }
  
  /* Responsive: vertical menu on mobile */
  @media (max-width: 700px) {
    .main-menu-container {
      max-width: 98vw;
      padding: 0;
    }
    .menu-bg-image { height: 80px; }
    .menu-btn-section {
      flex-direction: column;
      align-items: stretch;
      gap: 1.1rem;
      margin-top: -24px;
      padding: 1.1rem 0.7rem 0.7rem 0.7rem;
    }
    .menu-btn {
      flex-direction: row;
      justify-content: flex-start;
      gap: 0.9rem;
      min-width: 0;
      font-size: 1.02rem;
      padding: 0.7rem 0.8rem;
    }
    .menu-btn .icon {
      margin-bottom: 0;
    }
  }

  /* STORE HEADER */
  .store-header {
    text-align: center;
    padding: 2.5rem 1rem 1rem;
  }
  .cracked-title {
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    font-weight: 900;
    color: var(--accent-dark);
    font-size: 2.5rem;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }
  @keyframes crack-breathe {
    0% { filter: brightness(1) blur(0px);}
    100% { filter: brightness(1.15) blur(1.5px);}
  }
  .subtitle {
    font-size: 1.19rem;
    color: var(--steel);
    opacity: 0.85;
    font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
    margin-bottom: 0.5rem;
  }
  
  /* CATEGORY FILTERS
  .category-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.1rem;
    margin: 2.2rem 0 1.2rem 0;
  }
  .filter-btn {
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    background: #fff;
    border: 2.5px solid var(--accent);
    color: var(--accent-dark);
    font-weight: 700;
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    font-size: 1.05rem;
    transition: all var(--transition);
    cursor: pointer;
    box-shadow: 0 2px 8px #FFD60033;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
  }
  .filter-btn i {
    font-size: 1.15em;
    color: var(--accent-dark);
  }
  .filter-btn:hover,
  .filter-btn.active {
    background: var(--industrial-accent);
    color: #fff;
    border-color: var(--steel-dark);
    transform: scale(1.08);
    box-shadow: 0 6px 16px #FFD60033;
  }
  .filter-btn:hover i,
  .filter-btn.active i {
    color: #fff;
  } */
  
  /* PRODUCT GRID & CARDS */
  .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    max-width: 100vw;
    margin: 2.5rem auto;
    padding: 0 1rem;
    width: 20vw;
  }
  .product-card {
    background: var(--product-bg);
    box-shadow: var(--shadow);
    border: var(--btn-border);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.9s cubic-bezier(.4,0,.2,1);
    min-height: 100px;
    backdrop-filter: blur(2px);
    top: 0;
    z-index: 200;
  }
  .nase-storitve-box:hover,
  .product-card:hover {
    transform: translateY(-6px) scale(1.03) rotateZ(-1.5deg);
    box-shadow: var(--shadow-strong);
    transition: transform 0.35s cubic-bezier(.4,0,.2,1), box-shadow 0.35s cubic-bezier(.4,0,.2,1);
  }
  html {
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
  }

  .nase-storitve-section,
  .kontakt-img-container {
  scroll-snap-align: start;
  height: 100vh;
}

  .product-card img {
    width: 100%;
    height: 50vh;
    object-fit: cover;
    transition: filter var(--transition);
  }

  .product-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 1rem 0 0.5rem 0;
    color: var(--maintxt);
    letter-spacing: 0.03em;
    text-transform: uppercase;
    text-align: center;
  }
  .product-card p {
    font-size: 1rem;
    color: var(--subtext);
    margin-bottom: 0.7rem;
    text-align: center;
  }
  .product-card .price {
    font-weight: bold;
    color: var(--second-main);
    font-size: 1.13rem;
    margin-bottom: 0.7rem;
  }
  .product-card .card-footer {
    margin-top: auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background:  var(--product-bg);
  }
  .buy-btn {
    background: var(--btn-bg);
    color: var(--maintxt);
    border: none;
    padding: 0.55rem 1.5rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.02em;
  }

   a {
    color: var(--maintxt);
  }

  .buy-btn:hover {
    background: var(--footerbg);
    color: var(--btn-border);
    transform: scale(1.09);
  }
  
  
/* Footer */
.footer-container {
  background-color: var(--main-bg); 
  padding: 40px 20px; 
  display: flex;
  justify-content: space-between;
  align-items: center; 
  margin-top: 31vh;
  height: auto; /* Adjusted for responsiveness */
}

/* Left section (Kontakt) */
.footer-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
  text-align: center;
  margin-left: 100px; 
}

.footer-left h3 {
  color: var(--maintxt);
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 10px; 
}

.footer-item {
  display: flex;
  align-items: center; 
  flex-direction: column;
  margin-bottom: 10px; 
}

.footer-item img {
  width: 50px; 
  height: auto;
  margin-right: 15px; 
}

.footer-item p {
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  color:  var(--subtext);
  width: 100%; 
}

/* Center section (Logo) */
.footer-center {
  text-align: center;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  padding-right: 150px; /* Added padding for spacing */  
}

.footer-center img {
  width: 371.93px;
  height: 212px;
}

.footer-center p {
  color: var(--subtext);
  text-align: center;
  font-size: 15px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;  
}

/* Right section (Sledite nam) */
.footer-right {
  text-align: center; 
  margin-right: 150px;
}

.footer-right h3 {
  color: var(--maintxt);;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 10px;
}

.social-info {
  display: flex;
  align-items: center; 
  margin-bottom: 10px; 
}

.social-info img {
  width: 50px; 
  height: auto;
}

.social-info p {
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  color: var(--subtext);
  width: 100%;
}

.footer-credits {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
  font-size: 15px;
  color: var(--subtext); /* Medium gray text color */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .footer-container {
      flex-direction: column;
      align-items: center;
      padding: 20px;
  }

  .footer-left, .footer-center, .footer-right {
      margin-bottom: 20px;
  }
}

@media (max-width: 900px) {
  .footer-container {
    gap: 24px;
    padding: 32px 10px 18px 10px;
    max-width: 98vw;
  }
  .footer-center img {
    width: 120px;
  }
}

@media (max-width: 700px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 24px 4vw 12px 4vw;
    border-radius: 12px 12px 0 0;
  }
  .footer-left, .footer-center, .footer-right {
    min-width: 0;
    width: 100%;
    padding: 0;
    margin: 0;
  }
  .footer-center img {
    width: 90px;
  }
  .footer-credits {
    font-size: 13px;
    margin-top: 18px;
  }
}

/* Extra: Center all footer text on small screens */
@media (max-width: 700px) {
  .footer-container, 
  .footer-container * {
    text-align: center !important;
    justify-content: center !important;
    align-items: center !important;
  }
}

  /* ANIMATIONS */
  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(32px);}
    to { opacity: 1; transform: translateY(0);}
  }
  @keyframes fadeIn {
    from { opacity: 0;}
    to { opacity: 1;}
  }
  
  /* RESPONSIVE DESIGN */
  @media (max-width: 1200px) {
    .main-menu-container { max-width: 98vw; }
  }
  @media (max-width: 900px) {
    .store-header h1 { font-size: 1.7rem;}
  }
  @media (max-width: 700px) {
    .main-menu-container { max-width: 99vw; padding: 0;}
    .menu-bg-image { height: 60px; }
    .menu-btn-section {
      flex-direction: column;
      align-items: stretch;
      gap: 1rem;
      margin-top: -12px;
      padding: 0.6rem 0.4rem 0.4rem 0.4rem;
    }
    .menu-btn {
      flex-direction: row;
      justify-content: flex-start;
      gap: 0.7rem;
      min-width: 0;
      font-size: 0.98rem;
      padding: 0.5rem 0.6rem;
    }
    .menu-btn .icon { margin-bottom: 0; }
    .product-card img { height: 120px;}
    .footer-container { grid-template-columns: 1fr;}
  }
  

  /* --- Keyframes for fadeInUp animation --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* --- Responsive grid for mobile --- */
@media (max-width: 768px) {
  .product-grid {
    width: 98vw;
    padding: 0 0.5rem;
    grid-template-columns: 1fr; /* Single column on mobile */
    margin: 1.2rem auto;
  }
  .product-card img {
    height: 32vh;
  }
  .product-card h3 {
    font-size: 1rem;
  }
  .product-card p,
  .product-card .price {
    font-size: 0.95rem;
  }
  .product-card .card-footer {
    flex-direction: column;
    gap: 0.7rem;
    padding: 0.7rem;
  }
  .buy-btn {
    width: 100%;
    font-size: 0.97rem;
    padding: 0.5rem 0;
  }
}