* {
    margin: 0;
    padding: 0px;
    box-sizing: border-box;
}

body {
    background-color: rgba(231, 214, 193, 0.936); 
}

body.home-page {
    background-image: url(Img/background-photo.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    transition: background-image 0.5s ease;
}

body.home-page.bg-eat-hover {
  background-image: url(Img/background2-photo.jpg);
}

/*Navigation bar*/
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(10px);
  background-color: rgba(198, 181, 160, 0.95);
  padding: 3px 5px;
  min-height: 40px;
}

nav ul {
  display: flex;
}

.logo {
  flex: 1;
  font-family: "Rye", serif;
  color: rgba(12, 12, 12, 0.87);
  font-size: 25px;
  margin: 0 5px;;
}

nav ul li{
    display: flex;
    line-height: 40px;
    margin: 0 15px;
    margin-top: 10px;
}

nav ul li a{
    position:relative;
    color:rgb(29, 30, 29);
    font-size: 22px;
    font-family: "Fredericka the Great", serif;
    padding: 0 10px;
    line-height: normal;
    transition: color 0.4s ease-in-out;
    text-decoration:solid;
    border: 1px solid transparent;
    border-radius: 8px;
}

nav ul li a:hover {
    background-color: rgba(107, 74, 34, 0.87);
}

label #btn,
label #cancel{
    color:white;
    font-size: 30px;
    float: right;
    line-height: 80px;
    margin-right: 40px;
    cursor: pointer;
    display:none;
}

#check{
    display:none;
}

/* Dropdown container */
nav ul li.dropdown {
    position: relative;
}

nav ul li .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    background-color: rgba(255, 248, 240, 0.95); 
    min-width: 200px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    overflow: hidden;
}

nav ul li.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

nav ul li .dropdown-content li {
    width: 100%;
}

nav ul li .dropdown-content li a {
    display: block;;
    color: #3e2e2e;
    text-decoration: none;
    font-size: 20px;
    border-radius: 8px;
    padding: 10px 15px;
}

nav ul li .dropdown-content li a:hover {
    color: #ddd2d2;
}

nav ul li .dropdown-content li a:before {
    content: none !important;
}

nav ul li.dropdown:last-child .dropdown-content {
    left: auto;
    right: 0;
}

/*Home section*/
.home {
    color: rgba(255, 255, 255, 0.936);
    display: flex;
    flex-direction: row; 
    justify-content: center;
    align-items: center;
    z-index: 1;
    gap: 140px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-family: "Fredericka the Great", serif;
}

a {
  text-decoration: none;
  color: inherit;
}

.home h1 {
    font-size: 180px;
    margin: 0;
    text-align: center;
    margin-top: 200px;
}

.contact-card {
    position: absolute;
    right: 1px;
    font-size: 30px;
    color: rgb(9, 10, 10);
    margin-right: 15px;
}

/*About section*/
.about-title h1 {
    color: rgb(9, 10, 10);
    margin-top: 250px;
    font-size: 40px;
    text-align: center;
    font-family: "Limelight", sans-serif;
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
  flex-wrap: wrap;
}

.about-title p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgb(9, 10, 10);
}

.about-image img {  
    margin-top: 20px;
    border-radius: 10px;
    width: 700px;
    height: 600px;
    display: block;
    margin-left: auto;
    margin-right: auto; 
    object-fit: cover;
}

.video-UK {
    position: absolute;
    width: 100%;
    height: 300px;
    object-fit: cover;
    z-index: -1;
    top: 0;
}

/*Category section*/
.category-title h1 {
    color: rgb(9, 10, 10);
    font-size: 40px;
    text-align: center;
    font-family: "Limelight", sans-serif;
}

.category-title p {
    text-align: center;
    padding: 10px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgb(9, 10, 10);
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px;
    padding: 20px;
    border-radius: 10px;
    box-sizing: border-box;
    background-color: rgba(255, 248, 240, 0.95);
}

.category-item img {
    width: 300px;
    height: 500px;
    border-radius: 10px;
    margin-bottom: 10px;
    display: inline-block;
}

/*Products section*/
.products-title h1 {
    color: rgb(9, 10, 10);
    font-size: 40px;
    text-align: center;
    font-family: "Limelight", sans-serif;
}

.products-title p {
    text-align: center;
    padding: 10px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgb(9, 10, 10);
}

.products-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px;
    padding: 20px;
    border-radius: 10px;
    background-color: rgba(255, 248, 240, 0.95);
}

.products-item img {
    width: 250px;
    height: 350px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.products-item h2 {
   font-size: 20px;
}

.products-item h3 {
    font-size: 18px;
    color: rgb(107, 74, 34);
    font-style: italic;
}

.search-container {
  width: 90%;
  max-width: 600px;
  margin: 20px auto;
}
.search-bar {
  width: 100%;
  padding: 12px 16px;
  font-size: 18px;
  border: 1px solid #ccc;
  border-radius: 8px;
}
.search-bar:focus {
  outline: none;
  border-color: #6f4e37;
}


/*Contact section*/
.contact-form-section h1 {
    color: rgb(9, 10, 10);
    text-align: center;
    font-family: "Limelight", sans-serif;
    margin-top: 50px;
}

.contact-container {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    gap: 90px;
}

.contact-image img {
    width: 700px;
    height: auto;
    margin-top: 105px;
    border-radius: 10px;
    margin-left: 15px;
     display: block;
    margin-left: auto;
    margin-right: auto; 
    object-fit: cover;
}

.contact-form-section {
    max-width: 600px;
    flex: 1;
}

.booking-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.booking-section h1 {
    padding: 10px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

form input,
form textarea {
    padding: 20px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    padding: 10px;
    background-color: #6f4e37;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
}

form button:hover {
    background-color: #5a3e2e;
}

/*Responsive Screen*/
@media screen and (max-width: 768px) {
    nav ul {
        position: fixed;
        width: 100%;
        height: 100vh;
        top: 80px;
        left: -100%;
        background-color: rgba(255, 248, 240, 0.95);
        flex-direction: column;
        align-items: center;
        transition: left 0.3s ease-in-out;
    }

    nav ul li {
        margin: 20px 0;
    }

    label #btn {
        display: block;
    }

    #check:checked ~ ul {
        left: 0;
    }

    nav .checkbtn {
    display: block;
     }

    #check ~ label .fa-times {
    display: none;
     }

    #check:checked ~ label .fa-times {
    display: block;
     }

    #check:checked ~ label .fa-bars {
    display: none;
    }

    #check:checked ~ label #btn{
        display:none;
    }

    #check:checked ~ label #cancel{
        display:block;
    }
    
    nav ul li a {
        font-size: 24px;
        padding: 10px 20px;
    }

    nav ul li a:hover {
        background-color: rgba(107, 74, 34, 0.87);
    }

    nav ul li.dropdown .dropdown-content {
        position: static;
        width: 100%;
        box-shadow: none;
        border-radius: 0;
    }

    nav ul li.dropdown:hover .dropdown-content {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    nav ul li.dropdown .dropdown-content li {
        width: 100%;
    }

    nav ul li.dropdown .dropdown-content li a {
        padding: 10px 20px;
        font-size: 18px;
    }

    nav ul li.dropdown .dropdown-content li a:hover {
        background-color: rgba(107, 74, 34, 0.87);
    }

    nav ul li.dropdown:last-child .dropdown-content {
        left: 0;
        right: 0;
    }

    .home {
        flex-direction: column !important;
        align-items: center !important;
        gap: 0px !important;
    }

    body.home-page, body.home-page.bg-eat-hover{
        background-position: 40% center;
    }

    .home h1 {
        font-size: 100px !important;
        margin-top:  120px !important;      
        padding: 0 !important;
    }

    .logo{
        font-size: 20px;
    }

    .contact-card {
        font-size: 20px;
        margin-right: 0px;
    }
    
    .about-image img {
        width: 100%; 
        height: auto;   
    }

    .category-item {
        width: 90vw;       
        height: auto;    
        padding: 10px;
    }

    .dropdown-content {
        height: auto; 
        max-height: none; 
        padding: 10px 15px; 
        font-size: 16px; 
        border-radius: 8px; 
     }

    .contact-container{
        flex-direction: column !important;
        align-items: center !important;
    }

    .contact-image img {
        width: 100%;
        height: auto;
        margin-top: 0;   
    }

    .contact-form-section {
        width: 90vw;
        margin-top: 0px;
    }

    .contact-form-section h1{
        margin-top: 0px;
    }

    .category-item img,
    .products-item img {
        width: 100%;
        height: auto;
        margin-bottom: 10px;
        border-radius: 10px;
    }
}








