/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* ======= END OF RESET ======= */
/* A crude reset for a simple document */
html {
    box-sizing: border-box;
 }
 *, *::before, *::after {
    box-sizing: inherit;
    padding: 0;
    margin: 0;
 }





/*Typography*/
html {
  scroll-behavior: smooth;
}
body{
    margin: 0 auto;
    background-color: rgba(255, 237, 215, 0.986);
    
    
    
}
main{
    margin: 0 auto;
    min-width: 375px;
    max-width: 2000px;
    background-image: url('Images/nostalgia.jpg');
    background-size:cover;/* makes the image cover the whole screen */
    background-position:center;/* centers the image */
    background-repeat: no-repeat;     /* prevents tiling */
    background-attachment: fixed;     /* optional: keeps image fixed on scroll */
    background-color: #f8f8f857;
    backdrop-filter: blur(7px);
}


h1, h2, h3, h4, h5, h6 {
    font-family:'Times New Roman', Times, serif;
    font-weight: 700;
    color: #c98115;
    margin-bottom: 20px;
}
h1{
    font-family:"Birthstone", 'Times New Roman', Times, serif;
    font-size: 4rem;
    text-align: center;
    padding-top: 20px;
}
#vertical-heading span {
  display: block;
  text-align: center;
}
.title{
    font-family:'Times New Roman', Times, serif;
    font-size: 2rem;
    text-align: center;
    padding-top: 7rem;
    padding-bottom: 0.5rem;

}
h2{
    font-size: 2rem;
    text-align: center;
    padding-top: 7rem;
    padding-bottom: 0.5rem;
}
h3{
    color: #333;
    margin: 0 80px 0 80px;
    font-size: 1.5rem;
    font-weight: 600;
    padding-top: 1rem;
    padding-bottom: 3rem;
    text-align: center;
    line-height: 40px;
}
p{
    font-family: 'Arial', sans-serif;
    font-size: 1rem;
    color: #202020;
    line-height: 1.6;
    
}
.address-link{
    text-decoration: none;
}


.background-blur{
    background-color: rgba(250, 235, 215, 0.623);
    backdrop-filter: blur(4px);
}




/*navigation styling*/
.site-header {
    background-color: rgba(250, 235, 215, 0.603);;
    backdrop-filter: blur(15px);
    border-bottom: 3px solid #000000;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}
  
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
  
.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}
  
.logo {
    height: 5px;
    width: 5px;
    object-fit: contain;
}
  
.shop-name {
    font-family:'Birthstone', 'Times New Roman', Times, serif;
    font-size: 3.5rem;
    font-weight: bold;
    color: #c98115;
}
  
.right-section {
    display: flex;
    align-items: center;
    gap: 20px;
}
  
.location {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    text-align: right;
}
  
.burger-menu {
    padding-right: 20px;
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
}

.overlay-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    backdrop-filter: blur(8px);
    background-color: rgba(0, 0, 0, 0.5); /* semi-transparent dark */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999; /* above everything */
    transform: translateY(-100%);
    transition: transform 0.4s ease-in-out;
}
  




/* Show the menu */
.overlay-menu.active {
    transform: translateY(0);
}

/* Menu list styling */
.overlay-menu ul {
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 0;
}

.overlay-menu ul li {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    margin: 20px 0;
    padding: 50px;
}

.overlay-menu ul li a {
    font-size: 2rem;    
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}


.close-btn {
    position: absolute;
    top: 20px;
    font-size: 4rem;
    background: none;
    color: white;
    border: none;
    cursor: pointer;
}
.close-btn:hover {
    color: #c98115;
}



/*Desktop navigation*/
.desktop{
    top: 0;
    left: 0;
}
.desktop-nav ul{
    display: flex;
    list-style: none;
    gap: 20px;
}

.desktop-nav ul li{
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    padding: 20px;
}

.desktop-nav ul li a{
    font-size: 1.3rem;
    font-weight: 600;
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

.desktop-nav ul li a:hover{
    text-decoration: underline;
}



.desktop-span{
    background-color: #333;
    color: #fff;
    padding: 12px 20px;
    border-radius: 5px;
}
.desktop-span:hover{
    color:#c98115;
    transition: 0.3s ease;
}









/*hero image*/ 
.hero-section {
  display: flex;
  height: 100vh;
  width: 100%;
}

.hero-image {
  width: calc(50%); /* Can use calc(100% - 50%) if needed */
  background-image: url('Images/hero-page.webp');
  background-size: cover;
  background-position: center;
}

.hero-content {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #302f2fe8;
  text-align: center;
}

.logo {
  margin-bottom: 1rem;
}

.shop-name h1 {
  margin: 0;
  font-size: 7rem;
  color: #c98115;
}
.status {
    font-size: 1.5rem;
    font-weight: bold;
    padding-top: 100px;
    padding-bottom: 25px;
}
  
.open {
    color: #48ad4d;
  }
  
.closed {
    font-size: 2rem;
    color: #FFB3B6;
}

.cta-button {
    display: inline-block;
    font-size: 1.5rem;
    background-color: #333;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s ease;
}
  
.cta-button:hover {
    color:#c98115;
    transform: scale(1.1);
}










/*story section*/
.story-content{
    background-color: rgba(250, 235, 215, 0.671);
    padding-bottom: 5rem;
}
.story{
    padding: 50px;
    margin: 1rem 3rem;
    line-height: 45px;
}
.center-cta {
    padding-bottom: 6rem;
    display: flex;
    justify-content: center;  /* centers horizontally */
    align-items: center;      /* centers vertically */            
}
.selection{
    padding-top: 100rem;
}






/*Grid layout*/
.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-bottom: 8rem;
    justify-items: center;
}
  
.image-item {
    text-align: center;
}
  
.image-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}
  
.image-item img:hover {
    transform: scale(1.05);
}
  
.image-item p {
    margin-top: 0.5rem;
    font-weight: 700;
}





/*Name cards*/
.card-row {
    display: flex;
    margin: 0 10px;
    gap: 2rem;
    padding-top: 1rem;
    padding-bottom: 5rem;
}

  
.card {
    flex: 1;
    height: 380px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    border: #333 2px solid;
}
  
.card:hover {
    transform: translateY(-50px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
  
.card img {
    max-width: 80%;
    max-height: 180px;
    margin: 0 auto;
    margin-top: 20px;
    object-fit: contain;
}
  
.card p {
    margin-bottom: 20px;
    font-family:'Times New Roman', Times, serif;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
}
  
/* Unique card colors */
[aria-label="Finn"] {
    background-color: #ada59767;
    backdrop-filter: blur(3px);
}
[aria-label="Ashley"] {
    background-color: #b8a98f70;
    backdrop-filter: blur(3px); 
}
[aria-label="Gerrard"] {
    background-color: #e5d0ac60;
    backdrop-filter: blur(3px); 
}
[aria-label="Emily"] {
    background-color: #fef9e14f;
    backdrop-filter: blur(3px); 
}



/*Location section*/
.contact-section {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  min-height: 400px;
  padding: 2rem;
  margin-bottom: 3rem;
  gap: 2rem;
  background-color: #333;
}


.contact-section p{
    color: #c98115;
}

.map-container {
  flex: 1 1 50%;
  min-height: 300px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.contact-info {
  flex: 1 1 40%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}


.contact-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    margin: 0.2rem 0;
    font-family: 'Arial', sans-serif;
    font-size: 1rem;
    color: #ccc;
    line-height: 1.6;
}


.email {
  color: #ccc;
  text-decoration: none;
}

.email:hover {
  text-decoration: underline;
}


/*carousel styling*/
.cheese-background{
    background-color:#2e2d2db0;
}

.cheese-background h2{
    color: #f0ebeb;
    margin: 0 80px 0 80px;
    font-size: 1.5rem;
    font-weight: 600;
    padding-top: 1rem;
    padding-bottom: 3rem;
    text-align: center;
    line-height: 40px;
}
.carousel {
  position: relative;
  width: 100%;
  height: 60vh; /* Full viewport height */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-track-container {
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  box-sizing: border-box;
  text-align: center;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.carousel-slide img {
  max-height: 60vh; /* Prevent image from stretching too much */
  width: auto;
  margin: 0 auto;
  border-radius: 10px;
  object-fit: contain;
}

.cheese-info {
  margin-top: 1rem;
}


.cheese-info h3 {
  font-size: 2rem;
  color: #f0ebeb;
}

.cheese-info p {
    margin: 0 2.5rem;
    font-size: 1.3rem;
    font-weight: 500;
    color: #f0ebeb;
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #ffffff71;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  border-radius: 4px;
}

.carousel-button.left {
  left: 10px;
}

.carousel-button.right {
  right: 10px;
}

/* Event section */
.event-section {
  padding: 4rem 1rem;
  display: flex;
  justify-content: center;
}

.event-container {
  background: rgba(255, 255, 255, 0.432);
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  padding: 2rem;
  text-align: center;
}

.event-container h2 {
  color: #cf711f;
  margin-bottom: 1rem;
  font-size: 2rem;
}

.event-title {
  font-weight: bold;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.event-date {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #333;
}

.event-description {
  margin-bottom: 2rem;
  font-size: 1rem;
  color: #333;
}

.event-cta {
  display: inline-block;
  background: #cf711f;
  font-size: 1.5rem;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background 0.3s ease;
}

.event-cta:hover {
  background: #e28a3e;
  transform: scale(1.1);

}


/*Visit us section*/
.location-section {
  padding: 4rem 2rem;
}

.location-content {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
  gap: 2rem;
}

.location-info,
.enquiry-form {
  flex: 1 1 450px;
  background: rgba(255, 255, 255, 0.486);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.location-info p {
  text-align: center;
}

.location-info h2,
.enquiry-form h2 {
  margin-bottom: 1rem;
  color: #cf711f;
}
.location-info ul {
  list-style: none;
  padding: 0;
  text-align: center;
}

.location-info li {
  margin: 0.3rem 0;
}

.map-container {
  margin-top: 1rem;
  border-radius: 0.5rem;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 250px;
  border: none;
}

.enquiry-form form {
  display: flex;
  flex-direction: column;
}

.enquiry-form label {
  margin-top: 1rem;
  font-weight: bold;
}

.enquiry-form input,
.enquiry-form textarea {
  margin-top: 0.5rem;
  padding: 0.8rem;
  border-radius: 0.4rem;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.enquiry-form button {
    font-size: 1.3rem;
  margin-top: 1.5rem;
  padding: 0.8rem;
  background-color: #cf711f;
  color: white;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.enquiry-form button:hover {
  background-color: #e28a3e;
}




/*Team section*/
.team-section {
  padding: 4rem 2rem;
  text-align: center;
}

.team-subtitle {
    color: #333;
    margin: 0 80px 0 80px;
    font-size: 1.5rem;
    font-weight: 600;
    padding-top: 1rem;
    padding-bottom: 3rem;
    text-align: center;
    line-height: 40px;
}

.team-members {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.team-member {
  background: #333;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-member img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: 1rem;
}

.team-member h3 {
  margin: 0.5rem 0 0.3rem;
  font-size: 1.5rem;
  color: #c98115;
}

.team-member .role {
  font-style: italic;
  color: #adacac;
  margin-bottom: 0.5rem;
}

.team-member .bio {
  font-size: 1rem;
  color: #ccc;
}

/* Make it 1 column on small screens */
@media (max-width: 768px) {
  .team-members {
    grid-template-columns: 1fr;
  }
}



















/*footer styling*/
.footer {
    background-color: #333;
    color: #fff;
    padding: 3rem 2rem;
}
  
.footer h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #c98115; /* optional: gives a cheese-colored header */
}
  
.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3rem;
}
  
.footer-info {
    display: flex;
    gap: 3rem;
}
  
.footer-brand p{
    font-size: 1.2rem;
    line-height: 15px;
    color: #c98115;
    margin-bottom: 1rem;
}
.footer-address p,
.footer-nav a,
.footer-socials a {
    margin: 0.4rem 0;
    font-size: 1rem;
    color: #ccc;
    text-decoration: none;
}
  
.footer-nav a:hover{
    text-decoration: underline;
    color: #c98115;
}
.footer-socials a:hover{
    text-decoration: underline;
    color: #c98115;

}

    
.footer-nav,
.footer-socials {
    display: flex;
    flex-direction: column;
}
  
.footer-links {
    display: flex;
    gap: 3rem;
}
.footer-copyright {
    text-align: center;
    margin-top: 2rem;
    color: #ccc;
    font-size: 0.9rem;
    border-top: 1px solid #ccc;
    padding-top: 1rem;
}
.footer-copyright p{
    color: #ccc;
}
  
  
  




/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    .location-content {
    flex-direction: column;
    }
    .footer-container {
      flex-direction: column;
      gap: 2rem;

    }
  
    .footer-info,
    .footer-links {
      flex-direction: column;
    }
  }





@media (min-width:375px){
    .mobile-nav{
        display: block;
    }
    .desktop{
        display: none;
    }
    .hero-image {
    display: none;
    }

    .hero-content {
        width: 100%;
    }

    .Logo{
        height: 100px;
        width: 100px;
    }
    .logo{
        height: 300px;
        width: 300px;
    }
    .overlay-menu ul li {
        padding: 20px;
    }
    .shop-name{
        font-size: 1.8rem;
    }
    .hero{
        height: 100%;
    }
    h1{
        font-size: 1.3rem;
    }
    h3{
        font-size: 1.1rem;
    }
    p{
        font-size: 1rem;
    }
    a{
        font-size: 1rem;
    }
    .story{
        line-height: 25px;
        padding: 10px;
        margin: 20px 20px;
    }
    .image-grid{
        padding: 0;
    }
    .card{
        height: 200px;
    }
    .card p{
        font-size: 1.5rem;
    }

}




@media (min-width:450px){
    h1{
        font-size: 3rem;
    }
    .shop-name{
        font-size: 2rem;
    }
    .card{
        height: 300px;
    }
}



    
@media (min-width:700px){
    .Logo{
        height: 150px;
        width: 150px;
    }
    .shop-name{
        font-size: 2rem;
    }
    .overlay-menu ul li {
        padding: 30px;
    }
    h1{
        font-size: 4rem;
    }
    h2,.title{
        font-size: 2.5rem;
    }
    h3{
        font-size: 1.3rem;
    }
    p{
        font-size: 1.2rem;
    }
    a{
        font-size: 1rem;
    }
    .story{
        line-height: 35px;
        padding: 10px;
        margin: 20px 20px;
    }
    .image-item img {
        width: 150px;
        height: 150px;
    }
}
@media (min-width:770px){
    .shop-name{
        font-size: 2rem;
    }
}

@media (min-width:800px){
    .shop-name{
        font-size: 2.7rem;
    }

}




@media (min-width:1200px){
    .mobile-nav{
        display: none;
    }
    .desktop{
        display: block;
    }
    .hero-image {
    display: block;
    }

    .hero-content {
        width: 50%;
    }
    .logo{
        height: 250px;
        width: 250px;
    }
    .location{
        font-size: 1.2rem;
    }
    
    h1{
        font-size: 4.5rem;
    }
    h3{
        font-size: 1.5rem;
    }
    p{
        font-size: 1.2rem;
    }
    a{
        font-size: 1rem;
    }
    .image-grid{
        padding-bottom: 8rem;
    }
    .image-item img {
        width: 250px;
        height: 250px;
    }
    .card-row{
        padding-bottom: 10rem;
    }
}

@media (min-width:1400px){
    .story{
        line-height: 35px;
        padding: 35px;
        margin: 20px 20px;
    }
}
@media (min-width:1600px){
    .story{
        line-height: 45px;
        padding: 35px;
        margin: 20px 20px;
    }
}
