body {
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0e6d2; /* Off-white paper */
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

header {
    background-color: #222;
    color: #fff;
    padding: 1em 0;
    border-bottom: 5px solid #940a0a; /* Red Border */
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 {
    margin: 0;
    font-size: 2em;
    display: flex;
    align-items: center;
}

.logo {
    height: 150px; /* Adjust as needed */
    margin-right: 10px;
    max-width: 150px;
}
.logotext {
    height: 150px; /* Adjust as needed */
    margin-right: 10px;
    max-width: 400px;
}
.sociallogo {
    height: 50px; /* Adjust as needed */
    margin-right: 10px;
    max-width: 150px;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

header nav ul li {
    margin-left: 20px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

header nav ul li a:hover {
    color: #e6af2e; /* Golden hover */
}

main {
    padding: 2em 0;
}

.hero {
    background-image: url('img/pirate_background_2.jpg'); /* Add a pirate background image */
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #fff;
    padding: 5em 0;
    position: relative;
}

.hero:before{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Background Overlay */
}

.hero .container {
    position: relative; /* Needed to put content above the overlay */
    z-index: 1; /* Needed to put content above the overlay */
	align-items: center;
}

.hero h2{
    margin-bottom: 0.5em;
}


.button {
    display: inline-block;
    background-color: #940a0a; /* Red Button */
    color: #fff;
    padding: 0.8em 1.5em;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1em;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #c12121; /* Darker Red on Hover */
}

footer {
  background-color: #222;
  color: #fff;
  text-align: center;
  padding: 1em 0;
  border-top: 5px solid #940a0a;
}
/* Add to your existing style.css */
.contact-section {
    padding: 2em 0;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.contact-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contact-item h3 {
  color: #940a0a;
  margin-bottom: 0.5em;
}

.hours-section {
  padding: 2em 0;
}
.hours-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.hours-item {
   background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.hours-item h3 {
    color: #940a0a;
    margin-bottom: 0.5em;
}

.hours-section p {
    text-align: left;
}

/* Basic link styling */
a {
    color: #940a0a; /* Red link color */
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
/* Add to your existing style.css */
.menu-section {
  padding: 2em 0;
}

.menu-items {
  display: grid;
  grid-template-columns: 1fr; /* Makes it 1 column on smaller screens*/
  gap: 10px;
}

.price {
    color: #FFF;
    margin-bottom: 1em;
    font-size: 1em;
}
/* For tablet and larger screens */
@media (min-width: 768px) {
    .menu-items {
        grid-template-columns: 1fr auto;
    }

    .menu-item {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 20px;
    }

    .menu-item-text {
        flex-grow: 1;
    }


    .menu-item-prices {
        display: flex;
        gap: 15px;
        flex-shrink: 0;
		font-size: 1em;
    }
    .menu-item-prices span {
        white-space: nowrap;
		font-size: 1.5em;
	}
}


.menu-item {
  padding: 1em;
    border-bottom: 1px solid #ddd;
    display: flex;
    flex-direction: column;
}
.menu-item:last-child {
    border-bottom: none;
}

.menu-item h3 {
    margin-bottom: 0.3em;
    color: #940a0a;
    font-size: 1.2em;
}

/* Add to your existing style.css */
.full-menu {
  padding: 2em 0;
}

.menu-category {
  background-size: cover;
    background-position: center;
    color: #fff;
  padding: 1em;
    margin-bottom: 20px;
      position: relative;
}

.menu-category:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.6);
}

.menu-category h3{
    position: relative;
    z-index: 1;
      margin-bottom: 10px;
    font-size: 2em;
}


.menu-items {
  display: grid;
  grid-template-columns: 1fr; /* Makes it 1 column on smaller screens*/
  gap: 10px;
    position: relative;
  z-index: 1;
}


/* For tablet and larger screens */
@media (min-width: 768px) {
    .menu-items {
        grid-template-columns: 1fr auto;
    }

    .menu-item {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 20px;
    }

    .menu-item-text {
        flex-grow: 1;
    }
}


.menu-item {
  padding: 1em;
    border-bottom: 1px solid #ddd;
    display: flex;
    flex-direction: column;
}
.menu-item:last-child {
    border-bottom: none;
}

.menu-item h4 {
    margin-bottom: 0.3em;
    color: #fff;
    font-size: 1.2em;
	text-shadow: 
	-1px -1px 0 #000, /* Top-left shadow */
	-1px  1px 0 #000, /* Bottom-left shadow */
	 1px  1px 0 #000, /* Bottom-right shadow */
	 1px -1px 0 #000; /* Top-right shadow */

}

.breadtext {
	font-size: 1.2em;
	text-shadow: 
	-1px -1px 0 #000, /* Top-left shadow */
	-1px  1px 0 #000, /* Bottom-left shadow */
	 1px  1px 0 #000, /* Bottom-right shadow */
	 1px -1px 0 #000; /* Top-right shadow */

}

/* Add to your existing style.css */
.full-menu {
    padding: 2em 0;
}

.menu-category:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.6);
}

.menu-category h3 {
    position: relative;
    z-index: 1;
    margin-bottom: 10px;
    font-size: 3em;
	text-shadow: 
	-1px -1px 0 #fff, /* Top-left shadow */
	 1px  1px 0 #fff, /* Bottom-right shadow */
	-1px  1px 0 #fff, /* Bottom-left shadow */
	 1px -1px 0 #fff; /* Top-right shadow */
}


.menu-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    position: relative;
    z-index: 1;
}

/* For tablet and larger screens */
@media (min-width: 768px) {
    .menu-items {
        grid-template-columns: 1fr auto;
    }

     .menu-item {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 20px;
    }

     .menu-item-text {
        flex-grow: 1;
    }
  
    .menu-item-prices {
        display: flex;
        gap: 15px;
        flex-shrink: 0;
    }
    .menu-item-prices span {
        white-space: nowrap;
    }
}

/* Specific for Tillbehör items*/
.tillbehor-menu .menu-items {
    display: flex;
  flex-direction: column;
}


.tillbehor-menu .menu-item {
     display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}
.tillbehor-menu .menu-item-text{
    flex-grow: 1;
}

.tillbehor-menu  .menu-item-prices {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.menu-item {
    padding: 1em;
    border-bottom: 1px solid #ddd;
    display: flex;
    flex-direction: column;
}

.menu-item:last-child {
    border-bottom: none;
}

/* Updated styles in style.css */
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Ensure the logo and nav wrap on small screens */
}
header h1 {
    margin: 0;
    font-size: 2em;
    display: flex;
    align-items: center;
    flex-basis: 100%;
}


.logo {
    height: auto; /* Let the height adjust automatically*/
    max-width: 25%; /* Adjust as needed */
    margin-right: 10px;
    display: block;
}


.logotext {
    height: auto; /* Let the height adjust automatically*/
   max-width: 70%;
    display: block;
    margin-right: 10px;
}


header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap; /* Allow menu items to wrap on smaller screens */
    justify-content: flex-end;
    flex-basis: 100%; /* Take up full width when wrapping */
}

header nav ul li {
    margin-left: 10px;
    margin-bottom: 5px;
}
/* On larger screens, we set a minimum width for menu to prevent menu from jumping around*/
@media (min-width: 768px){
    header nav ul{
        flex-basis: auto;
        justify-content: flex-end;
    }

}

.food_image {
    max-width: 30%;
    display: block; /* Get rid of the gap under the image on the main page*/
    height: auto;
	align-items: center;
	flex-basis: auto;
	justify-content: flex-end;
}
/* You can add your own custom styles here */
td {
	margin-left: 10px;
	margin-bottom: 5px;
}
table {
		width: 75%
}


.cart-container {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 300px;
    max-height: 80vh; /* Begränsar höjden till 80% av skärmen */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 999;
    overflow-y: auto; /* Gör det möjligt att scrolla */
}


.cart-container h2 {
    margin-top: 0;
}

.cart-container button {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}

.cart-item button {
    background: none;
    border: none;
    color: red;
    font-size: 18px;
    cursor: pointer;
}
/* Layout för menyföremål */
.menu-items {
    display: grid;
    grid-template-columns: 1fr; /* En kolumn på små skärmar */
    gap: 15px; /* Avstånd mellan objekten */
}

/* Anpassning för större skärmar */
@media (min-width: 768px) {
    .menu-items {
        grid-template-columns: repeat(2, 1fr); /* Två kolumner på mellan-stora skärmar */
    }
}

@media (min-width: 1024px) {
    .menu-items {
        grid-template-columns: repeat(3, 1fr); /* Tre kolumner på större skärmar */
    }
}

/* Stil för varje menyföremål */
/* Stil för menyobjekt */
.menu-item {
    background-color: rgba(1, 1, 1, 0.4);
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1em;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* För rubrik och beskrivning */
.menu-item h3 {
    margin-bottom: 0.5em;
    color: #940a0a;
    font-size: 1.2em;
}

.menu-item p {
    color: #FFF;
    margin-bottom: 1em;
    font-size: 1em;
}

/* Anpassade knappar för menyföremål */
.menu-item button {
    background-color: #28a745;
    color: white;
    font-size: 1em;
    padding: 0.5em;
    /*border: none;*/
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    width: 100%; /* Lättare att trycka på */
    max-width: 200px; /* Begränsad bredd */
    margin: 0 auto; /* Centrera knappar */
}

.menu-item button:hover {
    background-color: #218838;
    transform: scale(1.05);
}

.menu-item button:active {
    background-color: #1e7e34;
    transform: scale(0.95);
}

/* För mobila kundvagnen */
.cart-icon-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.cart-icon {
    background-color: #940a0a;
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.cart-count {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: red;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8em;
}

/* Dölj hela kundvagnen för mobila skärmar */
.hidden {
    display: none;
}

/* Visa hela kundvagnen för större skärmar */
@media (min-width: 768px) {
    .cart-container {
        display: block !important;
    }

    .cart-icon-container {
        display: none;
    }
}

@keyframes pop {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
    }
}

/* Lägg till en klass för animeringen */
.cart-icon.pop {
    animation: pop 0.3s ease-in-out;
}

.menu-category {
    margin-bottom: 20px;
    background-color: #fff; /* Bakgrundsfärg för kategorisektioner */
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.menu-category h3 {
    font-size: 3.8em;
    color: #940a0a;
    text-align: center;
    margin-bottom: 10px;
}

.menu-category1 {
    margin-bottom: 20px;
    background-color: #fff; /* Bakgrundsfärg för kategorisektioner */
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.menu-category1 h3 {
    font-size: 3.8em;
    color: #940a0a;
    text-align: center;
    margin-bottom: 10px;
}

.menu-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

@media (min-width: 768px) {
    .menu-items {
        grid-template-columns: repeat(2, 1fr); /* Två kolumner för tablet-storlek */
    }
}

@media (min-width: 1024px) {
    .menu-items {
        grid-template-columns: repeat(3, 1fr); /* Tre kolumner för desktop */
    }
}

/* Gör inputfält mer moderna */
.input-field {
    width: 100%;
    padding: 10px;
    margin: 5px 0 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 1em;
}

/* Justera papperskorgens storlek och ta bort bakgrund */
.cart-item button {
    background: none;
    border: none;
    color: #940a0a;
    font-size: 1.2em;
    cursor: pointer;
    padding: 5px;
    margin-left: 10px;
}

/* Visa alltid kundvagnsikonen */
.cart-icon-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.cart-icon {
    background-color: #940a0a;
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

/* Dölj kundvagnen initialt */
.cart-container.hidden {
    display: none;
}

/* Anpassa kundvagnen för större skärmar */
@media (min-width: 768px) {
    .cart-icon-container {
        display: block;
    }
	.cart-container {
		position: fixed;
		top: 20px;
		right: 20px;
		width: 300px;
		max-height: 80vh; /* Begränsar höjden till 80% av skärmen */
		padding: 10px;
		border: 1px solid #ccc;
		border-radius: 5px;
		background-color: white;
		box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
		z-index: 999;
		overflow-y: auto; /* Gör det möjligt att scrolla */
	}

}
.hidden {
    display: none !important;
}
.delete-button {
    background: none;
    border: none;
    color: #940a0a; /* Röd färg */
    font-size: 1.2em; /* Ikonstorlek */
    cursor: pointer;
    padding: 0; /* Ta bort padding */
    margin: 0; /* Ta bort marginal */
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.delete-button:hover {
    color: #c12121; /* Mörkare röd vid hover */
    transform: scale(1.1); /* Liten förstoring vid hover */
}

.delete-button:active {
    transform: scale(0.9); /* Mindre vid klick */
}
.cart-item {
    display: flex;
    justify-content: space-between; /* Skjut ut innehåll till sidorna */
    align-items: center; /* Centrera vertikalt */
    margin-bottom: 10px;
}

.cart-item-name {
    flex-grow: 1; /* Låter namnet ta upp utrymme */
    word-wrap: break-word; /* Bryter långa namn vid behov */
    padding-right: 10px; /* Litet avstånd från papperskorgen */
}

.delete-button {
    background: none;
    border: none;
    color: #940a0a; /* Röd färg */
    font-size: 1.2em; /* Ikonstorlek */
    cursor: pointer;
    padding: 5px;
}

button:disabled {
    background-color: #ddd;
    color: #aaa;
    cursor: not-allowed;
}

#cartIconContainer {
    transition: opacity 0.3s;
}
#closedMessage {
    font-size: 1.5em; /* Gör texten större */
    font-weight: bold; /* Gör texten fet */
    color: #ffffff; /* Vit textfärg */
    background-color: #940a0a; /* Röd bakgrund */
    padding: 15px; /* Lägg till utrymme runt texten */
    text-align: center; /* Centrera texten */
    border-radius: 10px; /* Rundade hörn */
    margin: 20px 0; /* Skapa avstånd ovanför och under */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); /* Liten skugga för att få texten att sticka ut */
}
.toast {
    position: fixed;
    bottom: 20px; /* Placera längst ner */
    right: 20px;  /* Placera längst till höger */
    background-color: #f9f9f9; /* Ljus bakgrund */
    border: 1px solid #ccc; /* Tunn ram */
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Lite skugga */
    z-index: 1000; /* Visa ovanpå allt annat */
    max-width: 300px;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.toast p {
    margin: 0;
    font-size: 14px;
}

.close-toast {
    font-size: 18px;
    font-weight: bold;
    color: #555;
    cursor: pointer;
    margin-left: 10px;
}

.close-toast:hover {
    color: #000;
}


