/*!
Theme Name: Menu
Theme URI: https://pinhotel.com.tr
Author: Underscores.me
Author URI: https://pinhotel.com.tr
Description: Pin Traveler House & Cocktail
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: menu
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/



/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Prevent font size inflation */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

/* Remove default margin in favour of better control in authored CSS */
body, h1, h2, h3, h4, p,
figure, blockquote, dl, dd {
  margin-block-end: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  line-height: 1.5;
}

/* Set shorter line heights on headings and interactive elements */
h1, h2, h3, h4,
button, input, label {
  line-height: 1.1;
}

/* Balance text wrapping on headings */
h1, h2,
h3, h4 {
  text-wrap: balance;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input, button,
textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
  min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
  scroll-margin-block: 5ex;
}


/******************************************************************
MENU
******************************************************************/

:root {
  --background: #000;
  --text: #fff;
  --accent: #FDC327;
  --border: #313131;
}


html,body{padding: 0;margin: 0;background: var(--background);color: var(--text);font-family: "Montserrat", sans-serif;}


header{padding: 30px 0;text-align: center;}
header .logo{display: block;width: 120px;margin: 0 auto 30px auto}

header h1{font-weight: 700;font-size: 16px;line-height: 1;letter-spacing: 4px;margin: 0}

div.tabs{display: grid;grid-template-columns: 1fr 1fr;border-bottom: 2px solid var(--border);}
div.tabs a{display: block;text-align: center;font-size: 12px;line-height: 1;font-weight: 600;letter-spacing: 1px;padding-bottom: 16px;cursor: pointer;}
div.tabs a.active{border-bottom: 5px solid var(--accent);color: var(--accent);cursor: default;}

main{position: relative;}

.categories{display: grid;grid-template-columns: repeat(2, 1fr);column-gap: 20px;row-gap: 30px;padding: 20px;}
.category-item{display: block;cursor: pointer;}
.category-item img{display: block;width: 100%;border-radius: 4px;margin-bottom: 10px;}
.category-item span{display: block;text-align: center;font-size: 12px;line-height: 1;font-weight: 500;}



.page{display: none;}
.page.active{display: block;}


.category-header{padding: 30px 20px;border-bottom: 1px solid var(--border);display: flex;justify-content: space-between;align-items: center;}

.category-header h2{font-size: 16px;line-height: 1;font-weight: 700;margin: 0;letter-spacing: 1px;}

.category-header .back-button{display: flex;column-gap: 11px;font-size: 14px;line-height: 1;font-weight: 500;letter-spacing: 1px;align-items: center;cursor: pointer;}
.category-header .back-button:active{color: var(--accent);}

.items{padding: 20px;column-gap: 20px;}

.item{display: flex;margin-bottom: 18px;border-bottom: 2px dashed var(--border);padding-bottom: 18px;cursor: pointer;}
.item:last-child{margin-bottom: 0;border-bottom: none;padding-bottom: 0;}

.item .thumbnail{width: 70px;height: 70px;flex-grow: 0;flex-shrink: 0;}
.item .thumbnail img{display: block;width: 100%;border-radius: 2px;}

.item .item-content{padding: 0 20px;flex-grow: 1;}
.item h3{color: var(--accent);font-size: 14px;line-height: 1;font-weight: 500;margin: 0 0 6px 0}
.item p{font-weight: 400;font-size: 12px;color: var(--text);margin: 0}


.item .price{display: flex;width: 70px;flex-grow: 0;flex-shrink: 0;justify-content: center;align-items: center;color: var(--accent);font-size: 12px;line-height: 1;font-weight: 600;}

footer{padding: 30px 20px;text-align: center;font-size: 11px;color: #aaa;margin-top: 30px}
footer p{margin: 0}
footer p span{color: red;vertical-align: middle;}

.social{margin-top: 20px;}
.social img{display: inline-block;width: 26px;}

@media screen and (min-width: 1024px) {
  body{width: 768px;margin: 0 auto}
}


