/* Global Reset */
@font-face {
  font-family: 'Emilys Candy';
  src: url(/css/EmilysCandy-Regular.ttf);
}

@font-face{
  font-family: 'National Park';
  src:url(/css/NationalPark-VariableFont_wght.ttf)
}

@font-face {
  font-family: 'Montserrat';
  src: url(/css/Montserrat-VariableFont_wght.ttf);
}

@font-face {
  font-family: 'Eagle Lake';
  src: url(/css/EagleLake-Regular.ttf);
}

@font-face{
  font-family: 'Work Sans';
  src: url(/css/WorkSans-Italic-VariableFont_wght.ttf);
}
* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
   
}

.smaller_header{
  display:none;
}

.image-gallery {
    width: 100%;
    height: 150px; /* Fixed height or adjust as needed */
    overflow: hidden;
    position: relative;
}

.image-gallery img{
  max-width: 100%;
}

.landscape-image {
    width: 100%;
    height: 100%;
    object-fit:cover; /* Ensures the image covers the area, cropping if necessary */
    object-position: center right; /* Centers the image */
}

body {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color:white;
}

/* New Header */
.header{
    width:100%;
    height: 100px;
    display: block;
    background-color: skyblue; 
    display: fixed;
}

.inner_header{
    width: 1000px;
    height: 100px;
    display: block;
    margin:0 auto;
    background-color: skyblue;
}

.logo_container{
    height: 100%;
    display: table;
    float: left;
    
}

.logo_container h1{
    color: white;
    height: 100%;
    display: table-cell;
    vertical-align: middle;
    font-family: 'Eagle Lake';
    font-size: 30px;
    font-weight: 200;
    
}

.logo_container h1 span{
    font-weight: 800;
}

.logo_container a {
  text-decoration: none;
  color:white;
  
}

/*Navigation */
.navigation {
    display:flex;
    height: 100%;
    width:600px;
    align-items:center;
    justify-content:end;
    
}

.navigation a{
    height: 80px;
    display: table;
    padding:10px 20px;
}

.navigation a:last-child{
    padding-right: ;
}

.navigation li a{
    display: table-cell;
    vertical-align: middle;
    height:100%;
    color: white;
    font-family: 'Eagle Lake';
    font-size: 16px;
}

/*Dropdown Navigation */
.dropdown{
  display:none;
  position:absolute;
  background-color:skyblue;
  min-width:200px;
  z-index:1;
  height:fit-content;
}

.dropdown li{
  width:100%;
  height:50px;
}

.dropdown li a{
  text-align:left;
}

.navigation li:hover .dropdown{
  display:flex;
  flex-direction: column;
  height:fit-content;
  margin-top:0px;
  padding-top:3px;

}

/* Hero Section */
.hero {
    background: url("/images/Grapes\ and\ Wine\ Glass.jpeg") no-repeat center center/cover;
    height: 500px;
    display: block;
    justify-content: left;
    align-items: left;
    color: white;
    width: 100%;
    text-align: left;
    opacity: 0;
    visibility: hidden;

    /* Fade-in effect */
    animation: fadeIn 2s ease-in forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        visibility: visible;
    }
    100% {
        opacity: 1;
        visibility: visible;
    }
}
.hero-content{
    margin:0 auto;
    position:static;
    font-size: 30px;
    width: 1000px;
    top: 40%;
    left: 50%;

}

.hero-content h2 p{
    margin-top:250px;
    font-family: 'Work Sans';

}

.cta-button {
    background-color: skyblue;
    color: white;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    
}

#cta-button-services{
    text-align:center;
    width:150px;
    
}


.cta-button:hover {
    background-color: skyblue;
}

/* About Section */
.about {
    padding: 4rem 2rem;
    background-color: #fff;
    text-align: left; 
}

#outer-background{
  background-color: white;
}

.about-h2 {
    font-size: 2.5rem;
    width:100%;
    text-align: center;
    padding-top: 15px;
    font-family: 'Eagle Lake';
    color:black;
    background-color: white;
}

#about{
  display:flex;
  justify-content:center;
  margin-top:2em;
  height:fit-content;
  margin:0 auto;
  width:1000px;
  
}

.about-content{
  flex-wrap:wrap;
  display:inline-flex;
  flex-direction:column;
  justify-content:left;
  width:50%;
}

.about-content p{
  font-family: 'Work Sans';
  font-size:20px;
  color:black;
  line-height:1.5em;
}

#image-gallery2{
  width:100%;
  height:350px;
  background: white;
  
}

.image-of-eppin-container{
  overflow:hidden;
  width:30em;
  height:30em;
  margin-left:2em;
}

.image-of-eppin-container img{
  max-width:100%;
  overflow:hidden;
}

.three-photos{
  display:flex;
  width:1000px;
  height:500px;
  margin:0 auto;
  flex-wrap:wrap;
}

.column-pics{
  width:50%;
  overflow:hidden;
}

.column-pics img{
  max-width:100%;
  height:300px;
  width:450px;
}

/* Shop Section */
.shop {
    padding: 4rem 2rem;
    background-color: white;
}

.shop-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.shop-content h2{
  text-align: center;
}

.product {
    background-color: #fff;
    width: 280px;
    margin-bottom: 2rem;
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.product:hover {
    transform: translateY(5px);
}

.product img {
    max-width: 100%;
    border-radius: 5px;
}

.product h3 {
    font-size: 1.5rem;
    margin-top: 1rem;
    margin-bottom:15px;
}

.product p {
    font-size: 1.2rem;
    color: #888;
    margin: 1rem 0;
}

.product .cta-button {
    margin-top: 1em;
    margin-bottom:2em;
}

/*Services Section*/

.services-parent {
  display: flex;
  justify-content: space-around;
  padding: 20px;
  background: url(/images/Vineyard.jpeg);
  height: fit-content;
  align-items: center;
  width:100%;
  flex-wrap:wrap;
}

.services-child {
  flex-wrap:wrap;
  display:inline-flex;
  flex-direction: column;
  max-width: 450px;
  margin:0 auto;
  height:400px;
  gap:100px;

}

.text-over-photo {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  height:300px;
}

.text-over-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit:cover;
}

.text-over-photo h3 {
  position: absolute;
  align-items: center;
  justify-content: center;
  bottom: 20px;
  left: 20px;
  margin: 0;
  color: white;
  font-size: 1.5rem;
  background: skyblue; /* translucent background */
  padding: 10px;
  border-radius: 5px;
  
  
}.text-over-photo a{
  text-decoration: none;
  color:white;
}

.text-over-photo h3{
  margin-left:50%;
}

.text-over-photo h3:hover{
  cursor: pointer;
  color: #757AB0;
}


/*Shop css styling*/
bodyshop {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    margin: 0;
    padding: 0;
    text-align: center;
}

.wine-showcase {
    padding: 40px 20px;
    background-color: white;
}

.wine-showcase h1 {
    font-size: 2rem;
    color: #5a3d31;
    margin-bottom: 20px;
}

.wine-grid {
  display: flex;
  justify-content: center;
  gap: 20px; /* Space between cards */
  flex-wrap: wrap; /* Ensures responsiveness */
  margin-top: 30px; /* Space between text and cards */
}


.wine-card {
  background: white;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out;
  max-width: 250px; /* Ensures all cards have the same width */
  text-align: center;
}

.wine-card img {
  width: 100%;
  height: 300px; /* Adjusted for better alignment */
  object-fit: cover;
  border-radius: 10px;
}

.wine-card:hover {
  transform: scale(1.05);
}

.wine-card h2 {
    color: #555;
    margin-top: 10px;
    font-weight: 100px;
    font-family: 'Eagle Lake';
}

h2{
  font-family:'Eagle Lake';
  font-size:1em;
}

h3{
  font-family:'Eagle Lake';
}

.wine-card p {
    color: #555;
}

/*CTA*/
.cta-bar{
    width:100%;
    background-color:skyblue;
    height: 100px;
    color: white;
    text-align:center;
    margin: 0 auto;
    margin-top:2em;
    font-family: 'National Park';
    font-weight: bold;
    font-size: larger;
    display:flex;
    justify-content: center;
    align-items: center;
    background:url(/images/Grapes.jpeg)
}
.cta-button-bar{
        background-color: skyblue;
        color: white;
        padding: 10px 20px;
        font-weight:bold;
        margin-left: 10px;
        font-size: 1rem;
        border-radius: 5px;
        transition: background-color 0.3s ease;
        width:120px;
}

.informative-bar{
    width:100%;
    background-color:#757AB0;
    height: 160px;
    color: white;
    text-align:center;
    margin: 0 auto;
    margin-bottom:2em;
    font-weight: bold;
    font-size: larger;
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: National Park;
}


/*footer section*/
footer {
    background-color: #757AB0;
    position: relative;
    width: 100%;
    height: auto;
    padding-top: 80px;
    color:white;
  }

  .copyright-wrapper{
    text
  }
  
  .container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 12px;
  }
  
  .wrapper {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .wrapper .footer-widget {
    width: calc(20% - 30px);
    margin: 0 15px 50px;
    padding: 0 12px;
    text-align:left;
  }
  
.desc{
  font-family: 'Montesarat';
  
}
  .wrapper .footer-widget:nth-child(1) {
    width: calc(40% - 50px);
    margin-right: 15px;
  }
  
  .wrapper .footer-widget .logo {
    margin-bottom: 30px;
    vertical-align: middle;
  }
  
  .wrapper .footer-widget p {
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 24px;
  }
  
  .wrapper .footer-widget .socials {
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  
  .wrapper .footer-widget .socials li {
    list-style: none;
  }
  
  .wrapper .footer-widget .socials li a {
    width: 44px;
    height: 44px;
    margin-right: 10px;
    color: #ffffff;
    background-color: rgba(3, 127, 243, 0.5);
    border-radius: 50%;
    font-size: 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-out;
  }
  
  .wrapper .footer-widget .socials li a:hover {
    background-color: #037ef3;
    color:white;
  }
  
  .wrapper .footer-widget h6 {
    color: white;
    margin: 0px 0 10px;
    font-size: 20px;
    font-weight: 600;
    font-family: 'Eagle Lake';
  }
  
  .wrapper .footer-widget .links li {
    list-style: none;
    color:white;
    font-family: 'Works Sans';
  }
  
  .wrapper .footer-widget .links li a {
    color: white;
    font-size: 16px;
    text-decoration: none;
    text-transform: capitalize;
    line-height: 32px;
    transition: all 0.3s ease-out;
  }
  
  .wrapper .footer-widget .links li a:hover {
    color: #037ef3;
  }
  
  .copyright-wrapper {
    padding: 20px 0;
    border-top: 1px solid rgba(88, 89, 120, 0.4);
  }
  
  .copyright-wrapper {
    color: white;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    font-family:'Work Sans';
  }
  
  .copyright-wrapper p a {
    color: inherit;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease-out;
  }
  
  .copyright-wrapper p a:hover {
    color: #037ef3;
  }
  
  /* Let's write the media query */
  @media (max-width: 992px) {
    .container {
      max-width: 960px;
    }
  
    .wrapper .footer-widget,
    .wrapper .footer-widget:nth-child(1) {
      width: calc(50% - 30px);
    }
  }

.footer-widget h6{
  font-family: 'Eagle Park';
}

.footer-widget p{
  font-family:'Work Sans';
}

/* Blog Page */
  .blog-parent-container{
    display:flex;
    justify-content:space-around;
    column-gap:100px;
    height:400px;
    width:100%;
  }

  .child-container{
    flex-wrap:wrap;
    display:inline-flex;
    flex-direction:column;
    justify-content:space-between;
    min-width:300px;
    width:350px;
    align-items: center;
  }
/* Image container style */
.image-container {
  width: 100%;
  height: 500px;
  margin: 10px;
  overflow: hidden;
  position: relative; /* To position the image inside the container */
}

/* Image inside the container */
.image-container img {
  width: 100%; /* Make the image fill the container's width */
  height: 100%; /* Make the image fill the container's height */
  object-fit: cover; /* Ensure the image covers the entire area without distortion */
  position: absolute; /* Keep it centered */
  top: 50%; /* Move the image down */
  left: 50%; /* Move the image to the left */
  transform: translate(-50%, -50%); /* Center the image */
}


  .child-container h3{
    color:black;
    justify-items: center;
    text-align: center;

  }

  #grapes{
    width:600px;
    float:right;
  }

body {
  margin: 0;
  padding: 0;
  background-color: white;
  color: black;
}

header {
  background-color: #skyblue;
  color: #fff;
  text-align: center;
}

footer {
  background-color: #757AB0;
  color: #fff;
  text-align: center;
  position:static;
  width: 100%;
  bottom: 0;
}

/* Styling for Posts API */
#blog-posts {
  display: flex;
  width:100%;
  gap: 20px;
  height:fit-content;
  padding-bottom:30px;
  padding-top:30px;
  justify-content: center;
  flex-wrap:wrap;
}

.post {
  display:flex;
  width:350px;
  flex-direction:column;
  background-color: white;
  text-align:center;
  justify-content: center;
  height:30em;
}

.post h2 {
  font-size: 24px;
  text-align:center;
  margin-top:1.2em;
  height:2em;
}

.post div {
  font-size: 16px;
  color: black;
  height:10em;
  width:100%;
  
}

.post img{
  aspect-ratio: 16/9;
  object-fit:scale-down;
}

.blog-outer-background{
  background: white;
}

.individual-post-title{
  text-align:center;
  background-color:white;
}

#post-container-h2{
  font-size: 2.0rem;
  width:100%;
  text-align: center;
  padding-top: 15px;
  font-family: 'Eagle Lake';
  color:black;
  background-color: white;
  padding-bottom:15px;
}

#paragraph-blog-content{
font-family: 'Work Sans';
font-size: 20px;
color: black;
line-height: 1.5em;
}
.blog-h2{
  font-size: 2.5rem;
  width:100%;
  text-align: center;
  padding-top: 15px;
  font-family: 'Eagle Lake';
  color:black;
  background-color: white;
  padding-bottom:15px;
}

.individual-post-paragraph{
  text-align:center;
  background-color:white;
  width:1000px;
}

.instagram-icon{
  width:2.5em;
  height:2.5em;
  margin-left: 50%;
}

#instagram-follow-text{
  font-family: 'Eagle Lake';
  text-align: center;
  font-size:2em;
}

.individual-child-flex-box{
  flex-wrap:wrap;
  flex-direction:column;
  width:50%;
  height:fit-content;
  padding-bottom:2em;
  
}

#post-date{
  font-size: 1.0rem;
  width:100%;
  text-align: center;
  padding-top: 15px;
  font-family: 'Eagle Lake';
  color:black;
  background-color: white;
  padding-bottom:15px;
}

#signature{
  font-family: 'Eagle Lake';
  text-align: center;
}

#post-container{
  display:flex;
  width:1000px;
  margin:0 auto;
  height:fit-content;
  background-color: white;
}

/*Flex wine box front page */
.parent-flex-wine{
  background-color: #87ceeb;
  height:fit-content;
  display:flex;
  flex-wrap:wrap;
  width:100%;
  justify-content:center;
  overflow:hidden;
  column-gap:15em;
  padding-top:2em;
  margin-bottom:2.5em;
}

.child-flex-wine{
  min-height:fit-content;
  flex-wrap:wrap;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  padding-top:2em;
  padding-bottom:2em;
  
}

.symbol-image-container{
  width:10em;
  height:10em;
  overflow:hidden;
  display:block;
  margin:0 auto;
}

.child-flex-wine h2 {
  color:white;
  text-align: center;
  font-family: 'Eagle Lake';
}

.child-flex-wine p {
  color:white;
  font-family: 'Work Sans';
  text-align:center;
  width:20em;
  height:10em;
}

.child-flex-wine img{
  width:7em;
  height:7em;
  display:block;
  margin:0 auto;
}

/*Brands We Stock Section */
.title-brands h2{
  text-align:center;
  background: white;
  padding-bottom:30px;
  font-size:2.5em;
  padding-top:0.5em;
  font-family: Eagle Lake;
} 

.parent-container-brands{
  display:flex;
  flex-wrap:wrap;
  color:black;
  margin-bottom:30px;
  padding-bottom:30px;
  height:fit-content;
  width:100%;
  justify-content: space-around;
  background-color: skyblue;
  
}

.brands{
  flex-direction:column;
  padding-top:2em;
  padding-bottom:2em;
  flex-wrap:wrap;
  display:inline-flex;
  width:280px;
  align-items: center;
  justify-content: center;
  
}

.brands-image-container{
  height:200px;
  width:200px;
}

.brands-image-container img{
  max-width: 100%;
}

.title-of-brands{
  height:30px;
  width:80px;
  text-align: center;
  color:white;
  
}



  @media (max-width: 768px) {
    .container {
      max-width: 720px;
    }
  
    .wrapper .footer-widget,
    .wrapper .footer-widget:nth-child(1) {
      width: 100%;
      margin: 0 10px 50px;
    }
  }

  .winery-image{
    position: absolute;
    top: 320px;
    left: 55%;
    height: 420px;
    width:650px;
  }
/* Contact Section */
.text-area-form{
  text-align: left;
  line-height:2em;
}

.text-area-form h2{
  font-family: 'Eagle Lake';
}

.text-area-form p{
  font-family:'Work Sans';
}

.content h2{
  font-family: 'Eagle Lake';
  font-size: 2.5em;
  text-align: center;
  color:black;
}

p{
  font-family: 'Work Sans';
  font-size:0.8em;
}

.content p{
  font-family:'Work Sans';
  font-size: 20px;
}
.contact-flex-box{
  display:flex;
  column-gap:500px;
  justify-content:center;
  margin-top:2em;
  height:fit-content;
  flex-wrap:wrap;
  width:100%;
}

.form-child-container{
  flex-wrap:wrap;
  display:inline-flex;
  flex-direction:column;
  justify-content:;
 
}

.form-child-container h2{
  margin:0 auto;
}

.contact {
  padding: 4rem 2rem;
  background-color: #fff;
  text-align: center;
}

.google-contact-form{
  margin-top:5em;
  color:black;
}


.wine-showcase h2{
  font-size: 2rem;
  margin-bottom: 1rem;
  font-family: 'Eagle Lake';
  text-align:center;
  background: white;
  color:black;
}

.wine-showcase p{
  font-size: 1.2rem;
    color: black;
    margin-top: 1rem;
    font-family: 'Work Sans';
}

/* Age-verification 18 Pop Up */
#overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 999;
  display: none;
}

#popup-container {
  display: none;
  position: fixed;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
}

#popup {
  background-color: skyblue;
  color: white;
  font-size: 18px;
  font-family:'Emilys Candy';
  text-align: center;
  padding: 25px;
  width: 700px;
  max-width: 90%;
  box-shadow: 1px 2px 9px rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}

#popup p {
  font-size: 24pt;
  margin-bottom: 1em;
}

#popup button {
  margin: 10px;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  background-color: white;
  color: skyblue;
  cursor:pointer;
  font-size: 17px;
  font-weight: 600;
}

#popup button:hover {
  background-color: skyblue;
  color: white;
}

#overlay.show {
  display: block;
}

.hamburger{
  display:none;
}


@media only screen and (max-width: 768px) {
  #popup {
    width: 95%;
    font-size: 16px;
  }

  #popup p {
    font-size: 20px;
  }

  #popup button {
    font-size: 14px;
    padding: 8px 16px;
  }

  .image-gallery img{
    display:hide;
  }
}

/* Navigation Hamburger Menu Test Code */

*{
  margin:0;
  padding:0;
  text-decoration:none;
  box-sizing:border-box;
}
.smaller_header{
  height:150px;
  width:100%;
  background: skyblue;
  display:flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2em;
}

.nav-bar.active{
  height:450px;
  z-index:1;
  margin-top:62px;
  display:flex;
  justify-content:center;
}

.nav-bar.active ul{
  opacity:1;
  z-index:1000;
}

.nav-bar ul li a:hover{
  color:black;
  background: #fefefe;
}

.nav-bar ul li a.active{
  color:black;
  background:#fff;

}

.logo_container-smaller-screen{
  height: 100%;
  display: table;
  float: left;
  
}

.logo_container-smaller-screen h1{
  color: white;
  height: 100%;
  display: table-cell;
  vertical-align: middle;
  font-family: 'Eagle Lake';
  font-size: 1.2em;
  font-weight: 200;
  
}

.logo_container-smaller-screen h1 span{
  font-weight: 800;
}

.logo_container-smaller-screen a {
text-decoration: none;
color:white;
}

@media only screen and (max-width:10000px){
  .smaller_header{
    display:none;
  }
}


@media only screen and (max-width: 900px){
  .header{
    display:none;
  }

  .smaller_header{
    display:flex;
  }
  .hamburger{
    display:inline-block;
    cursor:pointer;
  }

  .hamburger .line{
    width:30px;
    height:3px;
    background:white;
    margin:6px 0;
  }

  .nav-bar{
    height:0px;
    position:absolute;
    top:80px;
    left:0;
    right:0;
    width:100vw;
    background:skyblue;
    transition:0.2s
  }

  .nav-bar ul{
    display:block;
    width:fit-content;
    margin:80px auto 0 auto;
    text-align:center;
    transition:0.5s;
    opacity:0;
  
  }

  .nav-bar ul li a{
    display:block;
    color:#fff;
    font-size:20px;
    padding:10px 25px;
    border-radius:50px;
    transition:0.2s;
    margin:0 5px;
    font-family:'Eagle Lake';
  }

  #outer-background{
    width:100%;
  }

  #about{
    width:100%;
    display:flex;
    flex-wrap:wrap;
    height: fit-content;
  }

  .column-pics {
    min-width: 100%;
    width:fit-content;
    margin:1em;
    
  }
  .three-photos{
    display:flex;
    width:100%;
    height:fit-content;
    justify-content: space-between;
    display:wrap;
  }

  .about-content {
    flex-wrap: wrap;
    display: flex;
    flex-direction: column;
    justify-content: left;
    width: 100%;
    overflow:hidden;
  }

  .image-of-eppin-container{
    overflow: hidden;
    margin:0;
    padding-top:1em;
    
  }


.text-over-photo h3 {
    margin-left:0%;
}
  .image-of-eppin-container img {
    max-width: 100%;
    margin:0;
    
  }

  #image-gallery2{
    height:fit-content;
  }

  #post-container{
    display:flex;
    flex-wrap:wrap;
    width:100%;
    height:fit-content;
    background-color: white;
  }
  
  .individual-child-flex-box{
    flex-wrap:wrap;
    flex-direction:column;
    width:100%;
    height:fit-content;
    padding:2em;
    
}