/*
Theme Name: Restoran Menu
Author: Abaz Memeti
Author URI: https://amemeti.netlify.app/
Version: 1.0
*/

/* Opsione gjenerale */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
body {
    margin: 0;
	-webkit-user-select: none; /* Safari */
  	-ms-user-select: none; /* IE 10 and IE 11 */
  	user-select: none; /* Standard syntax */
    background-color: #1D2327;
    line-height: 1.35;
    font-family: var(--body-font, 'Roboto'), sans-serif;
}

@media (max-width: 575px) {
    body {
        font-size: 14px;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font, 'Lato'), sans-serif;
    font-weight: 600;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

.page-wrap {
  min-height: calc(100vh - 120px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}


/* PRELOADER */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1D2327;
    z-index: 999999999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #444;
    border-top: 4px solid #bbb;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}


/* Hero Slider Custom */

.hero-slider {
    position: relative;
    width: 100%;
    height: 50vh;
    overflow: hidden;
}

.hero-slider .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
	background-repeat: no-repeat;
    background-position: 20% 70%;
    opacity: 0;
    transition: opacity .7s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-slider .slide.active {
    opacity: 1;
}

@media(max-width: 575px) {
	.hero-slider {
	  height: 40vh;
	}
}

.overlay-slider {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 1;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    color: white;
    z-index: 2;
    text-align: center;
}

.logo-wrap img {
  margin-top: 20px;
  max-width: 150px;
  height: auto;
}

.site-title {
    font-size: 2.5rem;
    margin: 1.4rem 0 0 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }
  
  .site-tagline {
    font-size: 1.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }
  
  
  /* Kategorite dhe subkategorite */
  .all-categories-grid {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr /* repeat(auto-fill, minmax(280px, 1fr)) */;
      gap: 25px;
      padding: 25px;
  }
  
  @media(max-width: 767px) {
      .all-categories-grid {
          grid-template-columns: 1fr;
      }
  }
  
  .category-card {
      position: relative;
      height: 180px;
      border-radius: 10px;
      overflow: hidden;
      background-size: cover;
      background-position: center;
      box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
      transition: transform 0.3s ease;
  }
  
  .category-card:hover {
      transform: scale(1.03);
  }
  
  .category-overlay {
      position: absolute;
      inset: 0;
      background-image: linear-gradient(transparent, #0009);
      color: #fff;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      align-items: center;
      text-align: center;
      text-decoration: none;
      padding: 20px;
  }
  
  .category-overlay h2 {
      font-size: 22px;
      margin: 0;
      letter-spacing: 1px;
      text-transform: uppercase;
      text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }
  
  .category-overlay span {
      font-size: 16px;
      margin-top: 8px;
  }
  
  #notes {
      text-align: center;
      font-size: 13px; 
      font-style: italic;
      margin: 20px 5px 35px 5px;
      color: #aaa;
  }
  
  #notes svg {
      fill: #aaa;
  }



/* CATEGORY HERO */

.category-hero {
	height: 350px; 
	background-size: cover; 
	background-position: center; 
	display: flex; 
	align-items: center; 
	justify-content: center; 
	flex-direction: column; 
	color: #fff; 
	text-shadow: 2px 2px 4px rgba(0,0,0,0.5); 
	text-align: center; 
	padding: 20px; 
	position: relative;
}

.breadcrumb {
	font-size: 14px; 
	margin-bottom: 10px; 
	color: #eee; 
	z-index: 2; 
	position: absolute; 
	top: 15px; 
	left: 15px
}

.breadcrumb a {
	color: #eee; 
	font-weight: 600
}

.category-hero h1 {
	z-index: 2; 
	padding-top: 25px;
    padding-bottom: 15px;
    font-size: 48px;
}

@media (max-width: 575px) {
    .category-hero h1 {
        font-size: 30px;
    }
}

.category-hero p {
	max-width: 600px; 
	z-index: 2;	
}



/* SUBACATEGORIES */

.subcategory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    padding: 40px;
}

/* Responsive: Force 2 columns on mobile */
@media (max-width: 600px) {
    .subcategory-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 15px;
    }
}

.subcategory-card {
    position: relative;
    /* height: 200px; */
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.subcategory-card:hover {
    transform: scale(1.03);
}

.subcategory-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(transparent,rgba(0, 0, 0, 0.7));
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    text-decoration: none;
    padding: 20px;
    letter-spacing: 0.5px;
}

.subcategory-overlay h3 {
    font-size: 20px;
    margin: 0;
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
	line-height: 1.15;
}

.subcategory-overlay span {
    font-size: 14px;
    margin-top: 6px;
}

@media (max-width: 600px) {
    .subcategory-card {
        /* height: 130px; */
        aspect-ratio: 4 / 3.5;
    }
    .subcategory-overlay {
        padding: 10px 10px;
    }
    .subcategory-overlay h3 {
        font-size: 16px;
    }
}


#empty-menu {
    color:#888; 
    padding: 20px;
}


/* POSTIME INDIVIDUALE NE KATEGORI APO SUBKATEGORI */
.category-postime-individuale {
	display: flex; 
	justify-content: space-between; 
	align-items: end; 
	position: relative; 
	width: 100%;
	margin-bottom:5px; 
	border-bottom: 0.5px solid #5a5a5a;
}

.category-postime-individuale h4 {
	margin: 0; 
	font-size: 16px; 
	padding-right: 8px; 
	letter-spacing: 0.5px; 
	text-transform: uppercase;
    color: #eee;
	line-height: 1.1;
	margin-bottom: 2px;
}

.category-postime-individuale h4 a {
	color: #eee;
}

.custom-fields {
	margin: 0;
}

.custom-fields h5 {
	margin: 0; 
	font-size: 15px; 
	padding-left: 7px; 
	color: #eee;
	line-height: 1.1;
	padding-bottom: 2px;
}


/* SKROLLING KATEGORI */
.category-horizontal-scroll {
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px;
    background-color: #161616;
    border-bottom: 1px solid #161616;
    scrollbar-width: thin;
    scrollbar-color: #262626 #444444;
}

.category-horizontal-scroll::-webkit-scrollbar {
    height: 6px;
}
.category-horizontal-scroll::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 3px;
}
.category-horizontal-scroll a {
    display: inline-block;
    margin-right: 12px;
    padding: 5px 10px;
    background: #2a2a2a;
    color: #f0f0f0;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid #444;
    font-size: 13.5px;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s;
}
.category-horizontal-scroll a:hover {
    background: #444;
    color: #fff;
    border-color: #444;
}


/* MENUJA KRYESORE */
#menuja-kryesore {
	position: fixed;
	z-index: 99999;
	border-top: 1px solid #aaa;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #161616;
    color: #aaa;
    height: 70px;
	padding-top: 5px;
}

.menu-container {
	max-width: 559px;
	margin: auto;
	display: flex;
    justify-content: space-around;
    align-items: start;
}

#menuja-kryesore a, #menuja-kryesore button {
   color: #aaa;
   text-decoration: none;
	
}
#menuja-kryesore svg {
    fill: #aaa;
	transition: all 0.3s;
}
#menuja-kryesore a:hover svg, #menuja-kryesore button:hover svg {
	fill: #fff;
}
#menuja-kryesore .elementi:hover > a {
	color: #fff;
}
#menuja-kryesore p {
  	margin: -5px 0 0;
    font-size: 13px;
}
#menuja-kryesore .elementi > a, #menuja-kryesore .elementi > button {
	display: flex;
	flex-direction: column;
	align-items: center;
}

@media only screen and (max-width: 767px) {
    .site-info .social-profile {
        margin-top: 0;
    }
	.site-footer .row::after, .site-footer .row::before {
		display: none;
	}
}


/* ******** */
.overlay {
	background-color: #000000;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    filter: alpha(opacity = 50);
    opacity: 0.5;
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}


h1:not(.site-title) {
   color: white
}

.term-description p {
      color: white
}

/* Titulli i postimit */
.single .entry-header .entry-title {
    text-transform: uppercase;
	letter-spacing: 1px;
}


/*  */
.subcategory-list {
	display: flex;
	flex-wrap: wrap;
	padding: 0 8px;
}

.subcategory-item {
  flex: 33.33%;
	padding: 0 15px;
	margin-top: 30px;
	max-width: 33.33%;
}


@media (max-width: 575px) {
	.subcategory-item {
    flex: 50%;
	max-width: 50%;
	padding: 0 8px;
	 margin-top: 16px;
  }
	
	.subcategory-item h4 {
		font-size: 0.9em;
		margin: -3em 1em 0;
	}
	.category-hero {
			height: 220px !important;
		}
}

.subcategory-item h4 {
    margin: -3.2em 1.5em 0;
    text-shadow: 1px 1px 2px black, 0 0 15px black, 0 0 5px black;
	height: 3.2em;
    letter-spacing: 0.5px;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
  	z-index: 2;
}



.overlay-item {
	position: absolute;
    top: 0;
    left: 15px;
    width: calc(100% - 30px);
    height: 100%;
    background-image: linear-gradient(transparent, #0008);
	  
}

@media (max-width: 575px) {
	.overlay-item {
	left: 8px;
  	width: calc(100% - 16px);
	}
}




/* Kategorite */
.category-postime {
    padding: 40px 15px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 20px;
    column-gap: 80px;
}

.category-postime p {
	margin-bottom: 0;
	color: #aaa;
    font-size: 13.5px;
	line-height: 1.1;
}

@media (max-width: 600px) {
    .category-postime {
        grid-template-columns: 1fr;
    }
}

/* produkte te ngjashme */
@media (min-width: 992px) {
	.related-post h4.entry-title {
		font-size: 18px;
	}
}


/* FOOTER */
footer {
    padding-top: 15px;
    padding-bottom: 81px;
    background-color: #161616;
}
.footer-content table {
	width: 100%;
	padding-right: 15px;
	padding-left: 15px;
}
.footer-content table tr td p {
    font-size: 13px;
    color: #aaa;
}
td.social-links {
	width: 100px;
	text-align: right;
}

.social-links a svg {
	display: inline;
    fill: #aaa;
	max-width: 13px;
	margin-left: 15px;
}



/* POSTIME NE SINGLE.PHP */
main {
    max-width: 800px;
    margin: 0 auto;
}

main .post-thumbnail img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    /* object-position: 50% 20%; */
}

article {
    padding: 15px;
    margin-bottom: 45px;
}

.post-categories {
    margin-bottom: 5px;
}

.post-categories a {
    color: #6d7685;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    padding-bottom: 10px;
}

article h1 {
    font-size: 42px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

@media (max-width: 575px) {
    article h1 {
        font-size: 24px;
        margin-bottom: 10px;
    }
}

.post-content p {
    color: #ccc;
    margin-bottom: 15px;
}

.price-post {
    color: #fff;
    font-size: 18px;
    background-color: #2a2a2a;
    display: inline-block;
    padding: 5px 10px;
    border: 2px solid #444;
    border-radius: 5px;
}

@media (max-width: 575px) {
    .price-post {
        font-size: 16px;
    }
}

.related-posts {
    background-color: #2a2a2a;
    padding: 35px 20px 30px;
    border-radius: 10px;
    border: 1px solid #444;
    margin: 60px 10px 0;
}

.related-posts h3 {
    padding-bottom: 20px; 
    text-align: center;
    font-size: 26px;
    color: white;
}

@media (max-width: 575px) {
    .related-posts h3 {
        font-size: 19px;
    }
}

.related-post {
    margin-top: 20px;
}

.related-post > div {
    display: flex; 
    justify-content: space-between; 
    align-items: end; 
    position: relative; 
    width: 100%;
    margin-bottom:5px; 
    border-bottom: 0.5px solid #444;
}

.related-post h4 {
    margin: 0; 
    font-size: 14px; 
    padding-right: 8px; 
    letter-spacing: 0.5px; 
    text-transform: uppercase;
}

.related-post h4 a {
    color: #eee;
}

.custom-fields {
    margin: 0;
}

.custom-fields h5 {
    margin: 0; 
    font-size: 14px; 
    padding-left: 7px; 
    letter-spacing: 0.5px; 
    color: #eee;
}



/* LIGHT MODE */

body.light-mode {
	background-color: rgb(220,220,220);
}

body.light-mode #preloader {
	background-color: rgb(220,220,220);
}

body.light-mode .spinner {
	border: 4px solid #bbb;
    border-top: 4px solid #444;
}

body.light-mode .category-postime h4 a {
	color: #222 !important
}

body.light-mode .category-postime h4 {
	color: #222 !important
}

body.light-mode .category-postime .custom-fields h5 {
	color: #222 !important
}

body.light-mode .category-postime p {
	color: #444 !important
}

body.light-mode article h1 {
	color: #111 
}

body.light-mode .post-content p {
	color: #333 
}

body.light-mode .price-post {
    color: #000 !important;
    background-color: rgb(213, 213, 213);
    border: 2px solid #bbb;
}

body.light-mode .sydney-related-posts h3 {
	color: #222 
}

body.light-mode .related-post .entry-title a {
    color: #444 
}
body.light-mode #menuja-kryesore {
	background-color: rgb(233,233,233);
	border-top: 1px solid rgb(85,85,85);
	color: rgb(85,85,85);
}

body.light-mode #menuja-kryesore a {
    color: rgb(85,85,85);
}

body.light-mode #menuja-kryesore svg {
    fill: rgb(85,85,85);
}

body.light-mode #menuja-kryesore a:hover svg {
	fill: #000;
}
body.light-mode #menuja-kryesore .elementi:hover a {
	color: #000;
}
body.light-mode footer {
    background-color: rgb(240,240,240);
}

body.light-mode .footer-content p {
    color: #666;
}

body.light-mode .social-links a svg {
    fill: #777;
}


body.light-mode .category-horizontal-scroll {
    background-color:  rgb(233,233,233) ;
    border-bottom: 1px solid  rgb(233,233,233) ;
    scrollbar-width: thin;
    scrollbar-color: rgb(218,218,218) #aaa;
}

body.light-mode .category-horizontal-scroll a {
	background: rgb(213,213,213);
  	color: rgb(20,20,20);
	border: 1px solid #bbb;
}
body.light-mode .category-horizontal-scroll a:hover {
	background: rgb(195,195,195);
}

body.light-mode .preloader {
    background: none repeat scroll 0 0 rgb(220,220,220);
}

body.light-mode .preloader .pre-bounce1, body.light-mode .preloader .pre-bounce2 {
    background-color: #333;
}

body.light-mode #notes {
	color: #444
}
body.light-mode #notes svg {
	fill: #7f7f7f
}

body.light-mode .related-posts h3 {
	color: #111;
}
body.light-mode .related-posts h4 a {
	color: #222 !important;
}
body.light-mode .related-posts div, body.light-mode .category-postime div div {
	border-color: #999 !important
}
body.light-mode .related-posts h5 {
	color: #222 !important;
}

body.light-mode .content {
	color: #444 !important;
}

body.light-mode .related-posts {
    background-color: rgb(213, 213, 213);
    border: 1px solid #bbb;
}

body.light-mode h2.level-0, body.light-mode h2.level-1 {
    color: #111;
}

body.light-mode .posts-grid {
    background-color: #d5d5d5;
    border: 0.5px solid #aaa;
}

body.light-mode .post-content-title-price h3 a {
    color: #222;
}
body.light-mode .custom-field h3 {
    color: #222;
}
body.light-mode .entry-content p {
    color: #222;
}



/* TË GJITHA POSTIMET */

.archive-container {
    margin-bottom: 60px;
}

.category-sub {
    margin-bottom: 40px;
}

h2.level-0 {
    color: #eee;
    font-size: 42px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: center;
    border-bottom: 1px solid #777;
    padding-top: 50px;
    margin-bottom: 40px;
}
h2.level-1 {
    color: #eee;
    font-size: 28px;
    letter-spacing: 0.5px;
    text-align: center;
    margin-bottom: 10px;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 10px 60px;
    padding: 15px 20px;
    background-color: #2a2a2a;
    border: 0.5px solid #444;
    border-radius: 5px;
}

.post-content-title-price {
    display: flex;
    justify-content: space-between;
    align-items: end;
    border-bottom: 0.5px solid #777;
    margin-bottom: 0;
    padding-bottom: 0;
}
.post-content-title-price h3 a {
    color: #eee;
    font-size: 16px;
}
.custom-field h3 {
    color: #eee;
    font-size: 15px;
    margin-left: 15px;
    margin-bottom: 0;
    padding-bottom: 0;
}
.entry-content p {
    color: #ccc;
    line-height: 1.2;
    font-size: 14px;
    font-weight: 200;
    margin-top: 2px;
    margin-bottom: 0;
}

@media(max-width: 1230px) {
    .archive-container {
        margin-left: 15px;
        margin-right: 15px;
    }
}

@media(max-width: 575px) {
    h2.level-0 {
        font-size: 34px;
    }
    h2.level-1 {
        font-size: 22px;
    }
    .posts-grid {
        padding-right: 15px;
        padding-left: 15px;
    }
}




/* Postimet ne kategori me foto */
.postimet-e-plota {
	padding-bottom: 0px;
	display: grid;
    grid-template-columns: 75px 1fr;
    cursor: pointer;
}

.postimet-e-plota .post-thumbnail img {
    width: 100%;
    aspect-ratio: 4/4;
    object-fit: cover;
    /*object-position: 50% 20%;*/
	border: 1px solid #888;
    border-radius: 5px;
}

.postimet-e-plota-teksti {
	margin-left: 10px;
}




/* PopUp dritarja */
.popup {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background-color: rgba(70, 70, 70, 0.7);
  transition: bottom 0.4s ease;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 100%;
  z-index: 99999999;
  visibility: hidden;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.popup.show {
  bottom: 0;
  visibility: visible;
}

.popup-content {
  background-color: #1D2327;
  color: #eee;
  padding: 15px;
  width: 100%;
  max-width: 560px;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
  animation: slideUp 0.4s ease;
  position: relative;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.popup-scrolling {
    max-height: 80vh;
    overflow: auto;
}

.popup-title-price {
    padding: 25px 0 20px;
    text-align: center;
}

.popup-title-price h2 {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    font-size: 20px;
    margin-bottom: 10px;
}

.popup-title-price h3 {
    font-weight: 300;
    font-size: 18px;
}

.popup-content img {
    border: 1px solid #888;
    border-radius: 5px;
}

.close-btn {
    position: absolute;
    top: -20px;
    left: calc(50% - 20px);
    padding: 5px 10px 3px 10px;
    margin-bottom: -2px;
    border-radius: 50%;
    font-size: 30px;
    line-height: 1;
    background-color: #000;
    border: 1px solid #777;
    cursor: pointer;
	font-family: 'Poppins', sans-serif;
}

p#popupDescription {
    text-align: center;
    padding: 20px 0;
}

body.light-mode .popup {
  background-color: rgba(50, 50, 50, 0.7);
}

body.light-mode .popup-content {
  background-color: #dcdcdc;
  color: #111;
}

body.light-mode .close-btn {
    background-color: #fff;
}

body.light-mode .popup-title-price h2 {
    font-weight: 500;
}
body.light-mode .popup-title-price h3 {
    font-weight: 500;
}
