/*
Theme Name: CRSTCannabis
Text Domain: CRSTCannabis
Version: 1.0
Description: One of the offical themes from the Cheyenne River Sioux Tribe Cannabis Control Company
Tags: animations, shoping, responsive, fancy
Author: Miles P. Livermont
*/


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

body {
    font-family: 'Oswald', sans-serif;
}

/* Navigation Bar */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    z-index: 10;
	overflow: hidden;
}

.logo img {
    height: 40px; /* Adjust logo size */
}

.nav-links {
    list-style: none;
    display: flex;

}

.nav-links li {
    display: inline;
}

.nav-links a {
	float: left;	
    color: white;  
	text-align: center;
	padding: 14px 16px;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
}

.nav-links a:hover {
      background-color: #C94F28;
  	  color: white;
}
/* Add a color to the active/current link */
.topnav a.active {
  background-color: #A2D149;
  color: white;
}
/* Hero Section */
.hero {
    position: relative;
    background: url('https://crstcannabis.com/wp-content/themes/livermont_themes/assets/images/hero-background.jpg') no-repeat center center/cover; 
    height: 100vh;
    display: flex;
    justify-content: left;
    align-items: center;
    text-align: center;
    color: white;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay for readability */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 50px;
    font-weight: 700;
}

.hero p {
    font-size: 18px;
    margin-top: 10px;
}

.btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: #A2D149;
    color: black;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
}

.btn:hover {
    background: #8CBF3F;
}

/* About Section */
	.about {
	  max-width:100%;
      	  background-color: black;
	  margin: 0 auto;
	  padding: 2rem;
	}

	.about h1,
	.about h2 {
	  color: #ffffff;
	  font-weight: bold;
	  padding-bottom: 0.3em;
	  margin-bottom: 1rem;
      margin-left: 15%;
      margin-right: 15%;
	}

	.about h1 {
	  font-size: 1.5rem;	
     	  border-bottom: 2px solid #888;
	}

	.about h2 {
	  font-size: 1.25rem;
	  margin-top: 2rem;
	}

	.about p {	
	  margin-bottom: 1rem;
	  font-size: 1rem;
	  color: white;
      margin-left: 20%;
      margin-right: 20%;
	}

/*FAQ Gallery Widget */
.faq-gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 300px;  /* Adjust height as necessary */
    position: relative;
    overflow: hidden;
    background: url('https://crstcannabis.com/wp-content/themes/livermont_themes/assets/images/grassland.jpg') center center/cover;
  }
  
  .faq-item {
    position: absolute;
    text-align: center;
    background-color: #A2D149;
    padding: 20px;
    width: 70%;
    border-radius: 8px;
    opacity: 0; /* Start hidden */
    animation: cycleFaqs 150s infinite;  /* 150 seconds to show each item */
  }
  
  @keyframes cycleFaqs {
    0%, 20% {
      opacity: 1;
    }
    25%, 100% {
      opacity: 0;
    }
  }
  
  .faq-item:nth-child(1) {
    animation-delay: 0s;
  }
  
  .faq-item:nth-child(2) {
    animation-delay: 15s;  /* Show after 30 seconds */
  }
  
  .faq-item:nth-child(3) {
    animation-delay: 30s;  /* Show after 60 seconds */
  }
  
  .faq-item:nth-child(4) {
    animation-delay: 45s;  /* Show after 90 seconds */
  }
  
  .faq-item:nth-child(5) {
    animation-delay: 60s;  /* Show after 120 seconds */
  }

  .footer {
    background-color: black;
    color: #C94F28;
    font-family: 'Oswald', sans-serif;
    text-align: center;
    padding: 20px;
  }
  
  .footer a {
    color: #C94F28;
    text-decoration: none;
  }
  
  .footer a:hover {
    text-decoration: underline;
  }

  /* Age Verification Overlay */
#age-verification {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.age-modal {
    background: #222;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.2);
    width: 90%;
    max-width: 400px;
}

.age-modal h2 {
    color: #C94F28;
}

.age-modal p {
    margin-bottom: 20px;
}

.age-modal button {
    background-color: #C94F28;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 10px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}

.age-modal button:hover {
    background-color: #a33e20;
}

/* Hide content initially */
#content {
    display: none;
}
/* Responsive Design */
@media screen and (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 15px;
    }

    .nav-links {
        flex-direction: column;
        text-align: center;
        padding-top: 10px;
    }

    .nav-links a {
        font-size: 18px;
    }

    .hero {
        height: 80vh; /* Reduce height on smaller screens */
        padding: 10px;
    }
    
    .hero-content {
        max-width: 90%;
        padding: 20px;
    }
    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 16px;
    }

    .btn {
        padding: 12px 25px;
    }

	.about {
	  max-width: 800px;
	  margin: 0 auto;
	  padding: 2rem;
	}

	.about h1,
	.about h2 {
	  color: #ffffff;
	  font-weight: bold;
	  border-bottom: 2px solid #888;
	  padding-bottom: 0.3em;
	  margin-bottom: 1rem;
	}

	.about h1 {
	  font-size: 1.5rem;	
	}

	.about h2 {
	  font-size: 1rem;
	  margin-top: 2rem;
	}

	.about p {
	  margin-bottom: 1rem;
	  font-size: .75rem;
	  color: #dddddd;
	}
    .faq-gallery {
        height: 250px;  /* Smaller height for tablets */
    }
    .faq-item {
        width: 70%;  /* Smaller FAQ item size for tablets */
        padding: 15px;
    }
    .footer {
    padding: 15px;  /* Adjust padding for tablets */
    }
    .footer p {
    font-size: 14px;  /* Slightly smaller text for tablets */
    }
}

@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 14px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

  .about {
    padding: 1rem;
  }

  .about h1 {
    font-size: 1.0rem;
  }

  .about h2 {
    font-size: .85rem;
  }

  .about p {
    font-size: 0.65rem;
  }
    .faq-gallery {
    height: 200px;  /* Smaller height for mobile */
    }
    .faq-item {
    width: 120px;  /* Smaller FAQ item size for mobile */
    padding: 10px;
    }
    .footer {
    padding: 10px;  /* Less padding for mobile */
    }
    .footer p {
    font-size: 12px;  /* Smaller text for mobile */
    }
}
