/*
=========================================

Toolunka Estate Gin
Mobile-first responsive design by WebSofa

=========================================
*/

@font-face {
    font-family: Halunken;
    src: url("../fonts/Halunken-Bold.otf") format("opentype");
    font-weight: bold;
}

:root {
  --accent-color: rgb(242, 194, 82);
  --secondary-color: #3C4D03;
	--contrast-color: #3C4D03;
	--hover-color: #7ea5006b;
	--body-clr: #3d3d3d;
	--body-background-clr: #f5f5f5;
	--heading-color: #231F20;
	--btn-text-clr: rgb(29, 29, 29);
	--body-FF: 'Arial', system-ui, sans-serif;
	--heading-FF: 'Halunken', serif;
}
html {
	font-size: 62.5%;
  scroll-behavior: smooth;
}
body {
  width: 100%;
  max-width: 100%;
	overflow-x: hidden;

	color: var(--body-clr);
	background-color: var(--body-background-clr);
  font-family:  var(--body-FF);
}

/* Simple css reset */

*, *::before, *::after {
    margin: 0;
    padding: 0;
  }
  
  /* Base styles */
  
  html {
    box-sizing: border-box;
    font-size: 62.5%;
  }
  img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  /* Utility classes */

  main {
    margin: 3em 0 10em;
  }
  section {
    margin-block: 3em;
  }
  .wrapper {
    padding-inline: 10%;
    max-width: 100%;
    /* width: min(100% - 40px, 60rem);
    margin-inline: auto; */
  }
  .margin-block {
    margin-block: 2em;
  }
  .margin-top {
    margin-top: 2em;
  }
  .margin-bottom {
    margin-bottom: 2em;
  }
  .padding-top {
    padding-top: 2em;
  }
  .padding-bottom {
    padding-bottom: 2em;
  }
  .center {
    margin: 0 auto;
    text-align: center;
  }
  .shadow {
    border-radius: 10px;
    box-shadow: 5px 5px 8px #c9c8c8;
  }
  .lighten {
    filter: brightness(160%);
  }
  .hidden {
    display: none;
 }
 .icons {
    text-align: center;
  }
  .custom-marker {
    display: inline-block;
    text-align: left;
	  list-style-image: url('../img/tick.svg');
    margin: 0 0 1em 1em;
    line-height: 1.6;
}
.custom-marker li {
  text-align: left;
  color: var(--secondary-color);
}
.background {
  background-color: var(--accent-color);
  box-shadow: 
    0 -5px 10px -5px rgba(0, 0, 0, 0.5); /* Top shadow */
}
em {
  color: rgb(242, 194, 82);
  font-style: normal;
}


  /* Typography - mobile (default) */

h1 {
    color: var(--heading-color);
    font-family: var(--heading-FF);
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1em;
  }
  h2 {
    font-size: 2.1rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-block: 1em;
  }
  h3 {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 1em;
  }
  h4 {
    font-size: 1.8rem;
    margin-bottom: 0.5em;
  }
  p, .custom-marker {
    margin-bottom: 1em;
    line-height: 1.3;
    font-size: 1.7rem;
  }
  span, a, i, li {
    font-size: 1.7rem;
  }
  a {
    margin-top: 0;
    color: #333;
    text-decoration: none;
  }

/* Header with Logo - mobile*/

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

  background: var(--accent-color);
  height: 80px;
}
.logo img {
  width: 130px;
  height: auto;
}

/* Navigation - mobile */

nav {
  width: 100%;
 }
 .nav-wrapper {
	width: 100%;
	transition: all 0.2s ease;
  height: 170px;
  padding-block: 0;
 }
 .nav-wrapper ul {
	position: relative;
  width: 100%;
	top: 80px;
  left: 0px;
	transform: translateY(-50%);
	padding-block: 0.5em;
 }
 .nav-wrapper ul li {
	float: none;
	width: 100%;
	text-align: left;
	text-decoration: none;
	list-style: none;
  font-weight: normal;
  line-height: 1.5;
  margin-left: 1em;
 }
 .nav-wrapper ul li:first-of-type {
	margin-top: 0px;
 }
 .nav-wrapper ul li:nth-child(1) a {
	transition-delay: 0.2s;
 }
 .nav-wrapper ul li:nth-child(2) a {
	transition-delay: 0.3s;
 }
 .nav-wrapper ul li:nth-child(3) a {
	transition-delay: 0.4s;
 }
 .nav-wrapper ul li:nth-child(4) a {
	transition-delay: 0.5s;
 }
 .nav-wrapper ul li:nth-child(5) a {
	transition-delay: 0.6s;
 }
 .nav-wrapper ul li:nth-child(6) a {
	transition-delay: 0.7s;
 }
 #nav:checked + .nav-btn {
	transform: rotate(45deg);
 }
 #nav:checked + .nav-btn i {
	background: #000;
	transition: transform 0.2s ease;
 }
 #nav:checked + .nav-btn i:nth-child(1) {
	transform: translateY(6px) rotate(180deg);
 }
 #nav:checked + .nav-btn i:nth-child(2) {
	opacity: 0;
 }
 #nav:checked + .nav-btn i:nth-child(3) {
	transform: translateY(-6px) rotate(90deg);
 }
 #nav:checked ~ .nav-wrapper {
	z-index: 999;
	opacity: 1;
  background: rgba(242, 194, 82, 0.8);
  box-shadow: 
    0 5px 10px -5px rgba(0, 0, 0, 0.5);   /* Bottom shadow */
 }
 #nav:checked ~ .nav-wrapper ul li a {
	opacity: 1;
	transform: translateX(0);
 }
 .nav-wrapper ul li a {
	padding: 10px 24px;
	opacity: 0;
	color: #353535;
	font-size: 1.6rem;
	font-weight: 400;
	letter-spacing: 1.2px;
	transform: translateX(-20px);
	transition: all 0.2s ease;
	text-decoration: none;
 }
 .nav-btn {
	position: absolute;
	right: 3em;
	top: 2em;
	display: block;
	width: 35px;
	height: 35px;
	cursor: pointer;
	z-index: 9999;
	border: 1px solid var(--body-clr);
	border-radius: 10px;
	padding: 0em;
	background-color: transparent;
 }
 .nav-btn i {
	display: block;
	width: 25px;
	height: 2px;
	background: var(--body-clr);
	border-radius: 2px;
	margin-left: 5px;
 }
 .nav-btn i:nth-child(1) {
	margin-top: 12px;
 }
 .nav-btn i:nth-child(2) {
	margin-top: 4px;
	opacity: 1;
 }
 .nav-btn i:nth-child(3) {
	margin-top: 4px;
 }
 .hidden {
	display: none;
 }  

  /* Hero section - mobile */

.hero {
  width: 100%;
  height: 85dvh;
  background-image: url('../img/hero1_mob.webp'), url('../img/hero2_mob.webp');
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
  box-shadow: 
    0 5px 10px -5px rgba(0, 0, 0, 0.5);   /* Bottom shadow */
}
.hero-text {
  position: relative;
  width: 300px;
  margin-left: 3em;
  margin-top: 15px;
}
.hero-text h1, .hero-text h2, .hero-text h3 {
  color: #fff;
  text-shadow: 0px 2px 3px #000000;
  margin-block: 0;
  text-transform: none;
}
.hero-text h1 {
  font-size: 2.8rem;
}
.hero-text h2 {
  font-size: 2.3rem;
}
.hero-text h3 {
  font-size: 1.8rem;
  margin-top: 1em;
  line-height: 1.3;
}

/* Cards with description of gin products - mobile */

 .cards {
  padding-top: 2em;
}
.card-title {
  margin: 0 0 0.5em;
}
.card2 h3, .card3 h3 {
  text-align: left;
  font-weight: bold;
  margin-top: 2em;
}
.card-content {
  text-align: left;
  margin-bottom: 1em;
}
.card-content li {
  font-weight: bold;
}
.card-image img {
  padding: 0;
  margin-block: 1em;
  border-radius: 10px;
}


/* Buttons */

/* .hero-btn {
  margin-block: 3em;
  display: inline-block;
	background-image: linear-gradient(to right, var(--secondary-color) 0%, var(--accent-color)  51%, var(--hover-color)  100%);
	background-size: 200% auto;
	color: var(--btn-text-color);
	text-decoration: none;
	padding: 1em 2em;
	border: 1px solid #666;
	border-radius: 50px;
	text-align: center;
	transition: 0.7s ease-in-out;
}
.hero-btn:focus,
.hero-btn:hover {
	background-position: right center;
	cursor: pointer;
} */
.btn-link {
  display: block;
  width: fit-content;
	border-radius: 5px;
	padding: 0.75em 1.5em;
  margin-bottom: 1em;
	font-weight: normal;
	text-align: center;
	transition: 0.5s ease-in-out;
 }
 .hero-text .btn-link {
  margin-top: 1em;
 }
 .btn-enquire {
	color: var(--body-clr);
  background: transparent;
  border: 1px solid var(--body-clr);
 }
 .btn-buy {
	color: #fff;
  background: rgb(219, 154, 2);
  /* background-size: 200% auto;
  background-image: linear-gradient(to right, rgb(255, 195, 54) 0%, var(--contrast-color) 100%);
	transition: 0.7s ease-in-out; */
  border: 1px solid var(--accent-color);
 }
 .btn-enquire:focus, .btn-enquire:hover {
  background: var(--hover-color);
  border: 1px solid var(--secondary-color);
 }
.btn-buy:focus, .btn-buy:hover {
	color: #fff;
  background: var(--secondary-color);
  border: 1px solid var(--secondary-color);
  /* background-position: right center; */
 }

.card-button img {
	display: inline-block;
	vertical-align: middle;
	width: 8px;
	margin: 0;
}

/*  Grids */

  .grid4 img {
    margin-bottom: 2em;
  }
  .contrast-grid {
    margin-block: 1em;
  }
  .contrast-grid-text {
    padding: 3em 2em;
    margin-bottom: 2em;
  }
  .contrast-grid-text h3 {
    color: #ff9b0f;
    margin-bottom: 1em;
  }
  .contrast-grid-text p {
    color: #fff;
  }
.contrast-grid-image {
  margin-block: 3em;
}

 

 /* Footer */

   /* Footer styles - mobile*/

  .footer {
    margin-top: 10em;
    padding: 5em 3em;
    margin: 0 auto;
 }
 .footer * {
  text-align: center;
  color: #3d3d3d;
 }
 .footer h3 {
    margin: 2.5em 0 2rem;
    font-size: 1.8rem;
    font-weight: bold;
    font-family: var(--heading-font-family);
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--body-clr);
 }
 .footer p {
    font-size: 1.7rem;
    line-height: 1.7;
    margin-bottom: 1em;
 }
 .footer a,
 .footer ul li,
 .footer span {
    font-size: 1.7rem;
    line-height: 1.7;
    margin-bottom: 0.5em;
 }
  .footer ul li {
    list-style: none;
 }
 .footer a {
  display: inline-block;
  position: relative;
  line-height: 1.2;
}
.footer a::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--secondary-color);
  transition: transform 0.25s ease-out;
}
.footer a:hover::after {
  transform: scaleX(1);
}
.footer a.left::after {
  transform-origin: bottom right;
}
.footer a.left:hover::after {
  transform-origin: bottom left;
}
 .footerLhs {
    margin: 0 auto;
 }
 .footerLhs p:last-child {
    margin-bottom: 2em;
 }
 .footerLhs img {
    width: 150px;
    margin: 0 auto;
 }
 .footer i {
  display: inline-block;
  margin-right: 1em;
  font-size: 2rem;
 }
 .footerLhs .desktop {
  display: none;
  visibility: hidden;
 }
 .social-media img {
  display: inline-block;
  width: 1.2em;
  margin-right: 1em;
  position: relative;
	top: 0.2em;
 }
 .social-media a {
  display: inline-block;
  line-height: 1.9;
 }
 .social-media span {
  margin-right: 1em;
 }

  /*--------------------------------
         Tablet and desktop styles
    --------------------------------*/


      /* Typography - tablet */
  
  @media only screen and (min-device-width: 768px) and (max-device-width: 1023px) {
    h1 {
      font-size: 3.2rem;
      font-weight: bold;
    }
    h2 {
      font-size: 2.9rem;
    }
    h3 {
        font-size: 2.6rem;
        font-weight: normal;
    }
    p, .custom-marker {
      font-size: 1.7rem;
      line-height: 1.5;
    }
    span, a, i, li {
      font-size: 1.7rem;
    }
  }

  @media (width > 768px) {

/* Buttons */

.btn-link {
    margin-block: 3em;
 }

/* removes tap-to-call functionality */
    
  .mobile, .mobile span, .mobile i {
    display: none;
    visibility: hidden;
}
  .desktop, .desktop span, .desktop i {
    display: inline-block;
    visibility: visible;
}

/* Hero Section  */

.hero {
  width: 100%;
  height: 90dvh;
  background-image: url('../img/hero1_lge.webp'), url('../img/hero2_lge.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 
    0 5px 10px -5px rgba(0, 0, 0, 0.5);   /* Bottom shadow */
}
.hero-text {
  position: relative;
  width: 600px;
  margin-left: 10%;
  margin-top: 80px;
}
.hero-text h1, .hero-text h2, .hero-text h3 {
  color: #fff;
  text-shadow: 0px 2px 3px #000000;
  margin-block: 0;
  text-transform: none;
}
.hero-text h1 {
  font-size: 6.5rem;
}
.hero-text h2 {
  font-size: 4.5rem;
}
.hero-text h3 {
  font-size: 3rem;
  margin-top: 1em;
}
}

 
/*-------------------------------
         Desktop styles
---------------------------------*/


  /* Typography - laptop and desktop */
  
@media (width > 1024px) {

    h1 {
      font-size: 7.5rem;
    }
    h2 {
      margin-bottom: 1em;
      font-size: 4rem;
      line-height: 1.4;
    }
    h2:nth-of-type(1) {
      margin-bottom: 0.5em;
    }
    h3 {
        margin-bottom: 2em;
        font-size: 2.6rem;
        font-weight: normal;
        line-height: 1.4;
    }
    p, .custom-marker {
      font-size: 1.8rem;
    }
    span, a, i, li {
      font-size: 1.8rem;
    }

/* Header and Navigation - desktop */

.header {
  height: 100px;
}
.logo img {
  width: 180px;
  height: auto;
}
.nav-btn {
  right: 15em;
  top: 25px;
 	width: 48px;
	height: 48px;
}
 .nav-btn i {
	width: 25px;
	height: 2px;
	margin-left: 12px;
 }
 .nav-btn i:nth-child(1) {
	margin-top: 16px;
 }
 .nav-wrapper ul li {
  line-height: 1.5;
  margin-left: 8%;
}
 .nav-wrapper ul li:first-of-type {
	margin-top: 50px;
 }
  .nav-wrapper ul li a {
	padding: 10px 24px;
	font-size: 1.8rem;
	letter-spacing: 1.2px;
	transform: translateX(-20px);
	transition: all 0.2s ease;
	text-decoration: none;
 }


 
/* Hero section - desktop */

.hero {
  width: 100%;
  height: 100dvh;
  background-image: url('../img/hero1_lge.webp'), url('../img/hero2_lge.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 
    0 5px 10px -5px rgba(0, 0, 0, 0.5);   /* Bottom shadow */
}
.hero-text {
  position: relative;
  width: 600px;
  margin-left: 10%;
  margin-top: 0px;
}
.hero-text h1, .hero-text h2, .hero-text h3 {
  color: #fff;
  text-shadow: 0px 2px 3px #000000;
  margin-block: 0;
  text-transform: none;
}
.hero-text h1 {
  font-size: 5.5rem;
}
.hero-text h2 {
  font-size: 4rem;
}
.hero-text h3 {
  font-size: 2.5rem;
  margin-top: 1em;
}
.nav-wrapper {
  height: 180px;
  padding-block: 0;
}
 .nav-wrapper ul {
	position: relative;
  width: 100%;
	top: 70px;
  left: 0px;
	transform: translateY(-50%);
	padding-block: 0.3em;
 }


/* Cards with description of gin products(desktop version) */

 .cards {
  padding-top: 5em;
	display: grid;
	grid-template-columns: 0.8fr 1fr 1fr;
	column-gap: 12em;
}
.card-title {
  margin: 0 0 1em;
}
.card2 h3, .card3 h3 {
  text-align: center;
  margin: 0;
  line-height: 2;
}
.card-content {
  text-align: left;
  margin-bottom: 5em;
}
.card-content p::before {
  display: block;
  content: '';
  position: relative;
  top: -1em;
  left: 50%;
  transform: translate(-50%, -50%);
  height: 2px;
  width: 50%;
  background-color: var(--secondary-color);
  margin-bottom: 1em;
}
.card-intro li {
  font-weight: bold;
}
.card-image img {
  padding: 0;
  margin: 1em 0 6em;
  border-radius: 10px;
}

  /*  Grids */
  
  .contrast-grid {
    margin-block: 5em;
    
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 1fr;
    gap: 10em;
    justify-content: center;
    align-items: center;
  }
  .contrast-grid li {
    font-weight: bold;
  }
  .contrast-grid-text {
    height: 100%;
    padding: 0 10em;
    margin-bottom: 0;
  }
  .contrast-grid-text p:last-of-type {
    margin-bottom: 3em;
  }
  .contrast-grid-image {
    margin-bottom: 0;
    border-radius: 10px;
  }
  .martinimix {
    order: 2;
  }
  .grid4 {
    margin-block: 5em;
    max-width: 100%;

    display: grid;
    grid-auto-flow: column;
    column-gap: 2em;
  }
  .grid4 img {
    height: 100%;
    margin-bottom: 0;
    border-radius: 5px;
  }
  /* .grid4 img:nth-of-type(1) {
    border-radius: 5px 0 0 5px;
  }
  .grid4 img:nth-of-type(4) {
    border-radius: 0 5px 5px 0;
  } */
  
  /* Footer (Desktop version) */

 .footer {
    margin: 0 auto;
    padding-inline: 10%;
    height: auto;
    display: grid;
    justify-items: center;
    grid-template-areas: "lhs mid rhs";
    grid-template-columns: 1.2fr 1.2fr 1fr;
    column-gap: 2em;
 }
 .footer * {
  text-align: left;
 }
 .footer h3 {
    margin: 15px 0;
    font-size: 2rem;
    font-family: var(--heading-font-family);
    text-align: left;
 }
.footer p,
.footer a,
.footer ul li {
    font-size: 1.8rem;
 }
 .footer p {
  margin-bottom: 0;
 }
 .footer a {
    text-decoration: none;
 }
 .footer i {
    font-size: 2.2rem;
    margin-right: 1em;
 }
 .footerLhs {
    grid-area: lhs;
    justify-self: center;
 }
 .footerLhs p:last-of-type {
    margin-bottom: 2em;
 }
 .footerLhs img {
  width: 150px;
  margin: 0 0 2em;
 }
 .footerMid {
    grid-area: mid;
 }
 .social-media a {
  display: inline-block;
 }
 .social-media img {
  margin-left: 0;
 }
 .footerRhs {
    grid-area: rhs;
 }
 .footerLhs .desktop {
    all:unset;
 }
 .footerLhs .mobile * {
    display: none;
    visibility: hidden;
 }
 .mobile i {
    display: none;
 }
 .footerLhs .desktop span {
    display: inline;
    margin-top: 1em;
    font-size: 1.8rem;
 }
 .footer i {
    display: inline-block;
    font-size: 2rem;
 }
  .footer i:nth-of-type(1) {
    margin-top: 1em;
 }

 .websofa {
  margin-block: 3em;
  justify-content: center;
}
}

 
/*-------------------------------
        Large monitor styles
---------------------------------*/


@media (width > 1600px) {

  .logo img {
    width: 180px;
  }
  .hero {
  width: 100%;
  height: 90dvh;
  background-image: url('../img/hero1_lge.webp'), url('../img/hero2_lge.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 
    0 5px 10px -5px rgba(0, 0, 0, 0.5);   /* Bottom shadow */
}

  .hero-text {
    margin-left: 20em;
    position: relative;
    width: 600px;
    margin-left: 10%;
    margin-top: 80px;
  }
  .hero-text h1, .hero-text h2, .hero-text h3 {
  color: #fff;
  text-shadow: 0px 2px 3px #000000;
  margin-block: 0;
  text-transform: none;
}
.hero-text h1 {
  font-size: 6.5rem;
}
.hero-text h2 {
  font-size: 4.5rem;
}
.hero-text h3 {
  font-size: 3rem;
  margin-top: 1em;
}
.nav-wrapper {
  margin-top: -50px;
  height: 250px;
}
.nav-wrapper ul li:first-of-type {
  margin-top: 135px;
}
}


/* End of code */