/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #000;
    color: #fff;
    line-height: 1.6;
    padding-top: 80px; /* Prevent content overlap with fixed nav */
}

body.index-page,
body.reports-page {
    padding-top: 0; /* Remove padding for index.html and reports.html */
}

.section-separator {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, #444, transparent);
  margin: 4rem 0;
  opacity: 0.6;
}

/* Hero Section (for index.html, contact.html) */
.hero {
    width: 100%;
    height: 35vh; /* Default for contact.html */
    background-image: linear-gradient(rgba(12, 3, 51, 0.3), rgba(12, 3, 51, 0.3));
    position: relative;
    padding: 0.5%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1; /* Ensure hero is above title-cards */
}

body.index-page .hero {
    height: 100vh; /* Full-screen for index.html */
    position: relative; /* Changed from absolute to contain content */
    top: 0;
    left: 0;
    align-items: flex-start; /* Align nav at top */
    padding-top: 1.25rem; /* Match nav padding for consistent spacing */
    width: 100%;
}

body.index-page .content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.back-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures video covers area while maintaining aspect ratio */
    object-position: center;
    z-index: -1; /* Behind content and nav */
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.25rem 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #121212;
    z-index: 10; /* Above hero */
}

body.index-page nav {
    background: transparent;
    height: auto;
}

body.index-page nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: -1;
}

.nav-logo {
    font-size: 1.75rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease-in-out;
}

.nav-logo:hover {
    color: #ffcc00;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
}

.nav-links li {
    margin-left: 2.5rem;
}

.nav-links a {
    position: relative;
    color: #fff;
    font-size: 1.0625rem;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
}

.nav-links a:hover,
.nav-links a.active {
    color: #ffcc00;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
    left: 0;
    background: #ffcc00;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    -webkit-tap-highlight-color: transparent;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 4px 0;
    display: block;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Content */
.content {
    position: relative;
    color: #fff;
    text-align: center;
}

.content h1 {
    font-size: 5rem;
    font-weight: 600;
    -webkit-text-stroke: 2px #fff;
    color: transparent;
    transition: 0.5s;
}

.content h1:hover {
    -webkit-text-stroke: 2px #fff;
    color: transparent;
}

.content a {
    display: inline-block;
    color: #fff;
    font-size: 1.5rem;
    text-decoration: none;
    border: 2px solid #fff;
    padding: 0.875rem 2.5rem;
    border-radius: 50px;
    margin-top: 1.25rem;
    transition: background 0.3s ease-in-out;
}

.content a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Title Cards Section */
.title-cards {
    padding: 4rem 8%;
    background-color: #1a1a1a;
    text-align: center;
    position: relative;
    z-index: 0; /* Below hero */
}

body.index-page .title-cards {
    padding-top: 2rem; /* Space below hero instead of margin-top: 100vh */
}

.title-cards h2 {
    font-size: 2.25rem;
    margin-bottom: 2rem;
    color: #fff;
}


/* Strains Section (for flower.html) */
.strains-section {
    width: 100%;
    padding: 100px 8%;
    background: #1a1a1a;
    text-align: center;
}

.strains-section h1 {
    font-size: 48px;
    margin-bottom: 30px;
    color: #fff;
}

.search-filter {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.search-filter input {
    padding: 10px;
    border-radius: 5px;
    border: none;
    width: 250px;
    font-size: 16px;
    background: #252525;
    color: #fff;
}

.search-filter button {
    padding: 10px 20px;
    background: #ffcc00;
    color: #121212;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease-in-out;
}

.search-filter button:hover {
    background: #e6b800;
}

.search-filter button:focus {
    outline: 2px solid #ffcc00;
    outline-offset: 2px;
}

.filter-buttons {
    margin-bottom: 30px;
}

.filter-buttons button {
    padding: 10px 20px;
    margin: 0 5px;
    background: #ffcc00;
    color: #121212;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease-in-out;
}

.filter-buttons button:hover {
    background: #e6b800;
}

.filter-buttons button:focus {
    outline: 2px solid #ffcc00;
    outline-offset: 2px;
}

.strain-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.strain {
    background: #252525;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.strain:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.strain-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.strain:hover .strain-image {
    transform: scale(1.05);
}

.strain h3 {
    font-size: 24px;
    margin: 15px 0;
    color: #ffcc00;
}

.strain p {
    font-size: 16px;
    padding: 0 15px 15px;
}

/* Filters and Strain List (for reports.html) */


/* Product Details Section (for flower/black-cherry-soda.html) */
.product-details-section {
    width: 100%;
    padding: 100px 8%;
    background: #1a1a1a;
    text-align: center;
}

.product-details-section h1 {
    font-size: 48px;
    margin-bottom: 30px;
    color: #fff;
}

.product-content {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.product-image {
    flex: 1;
    text-align: center;
}

.product-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.product-image .lab-report-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 30px;
    background: #ffcc00;
    color: #121212;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    transition: background 0.3s ease-in-out, transform 0.2s ease-in-out;
}

.product-image .lab-report-btn:hover {
    background: #e6b800;
    transform: scale(1.1);
}

.product-info {
    flex: 1;
    text-align: left;
}

.product-info .description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.amount-selector {
    margin-bottom: 20px;
}

.amount-selector label {
    font-size: 16px;
    margin-right: 10px;
}

.amount-selector select {
    padding: 10px;
    border-radius: 5px;
    border: none;
    font-size: 16px;
    background: #252525;
    color: #fff;
}

.comment-box {
    margin-bottom: 20px;
}

.comment-box label {
    font-size: 16px;
    display: block;
    margin-bottom: 10px;
}

.comment-box textarea {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: none;
    background: #252525;
    color: #fff;
    font-size: 16px;
    resize: vertical;
}

.submit-ticket-btn {
    padding: 10px 30px;
    background: #ffcc00;
    color: #121212;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s ease-in-out, transform 0.2s ease-in-out;
}

.submit-ticket-btn:hover {
    background: #e6b800;
    transform: scale(1.1);
}

.health-disclaimer {
    margin-top: 40px;
    text-align: left;
    border-left: 4px solid red;
    padding-left: 20px;
}

.health-disclaimer h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: red;
}

.health-disclaimer p {
    font-size: 16px;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #121212;
    color: #fff;
    padding: 1.25rem 8%;
    text-align: center;
}

.footer-content {
    max-width: 75rem;
    margin: 0 auto;
}

.social-links {
    list-style: none;
    margin-top: 0.625rem;
}

.social-links li {
    display: inline-block;
    margin: 0 0.625rem;
}

.social-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.social-links a:hover {
    color: #ffcc00;
}

.team-section .team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 0;
}

nav.navbar {
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

nav.navbar.scrolled {
  background: rgba(18, 18, 18, 0.95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .hamburger span {
        width: 30px;
        height: 4px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(12, 3, 51, 0.9);
        flex-direction: column;
        padding: 1.5rem 0;
        z-index: 15;
    }

    body.index-page .nav-links {
        background: rgba(12, 3, 51, 0.9);
        top: 80px;
        height: auto;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 1rem 0;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .content h1 {
        font-size: 3.5rem;
    }

    .content a {
        font-size: 1.2rem;
        padding: 0.75rem 2rem;
    }

    body.index-page .content {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .hero-title h1 {
        font-size: 36px;
    }

    .contact-form {
        padding: 40px 4%;
    }

    .contact-info {
        padding: 40px 4%;
    }

    .about-section {
        padding: 3rem 4%;
    }

    .title-cards {
        padding: 3rem 4%;
        gap: 1.5rem;
    }

    body.index-page .title-cards {
        padding-top: 1.5rem; /* Adjusted for mobile */
    }

    .card {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .title-cards .card-logo {
        width: 120px;
        height: 120px;
    }

    .flower-section {
        padding: 3rem 4%;
    }

    .flower-section h3 {
        font-size: 3rem;
    }

    .category h4 {
        font-size: 1.5rem;
    }

    .product-grid {
        gap: 1.5rem;
    }

    .product-card {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .product-card .card-logo {
        width: 150px;
        height: 150px;
    }

    .carousel-arrow {
        right: 15px;
        width: 25px;
        height: 25px;
        font-size: 0.875rem;
    }

    .products-section {
        height: auto;
    }

    .product-container {
        flex-direction: column;
    }

    .product-item {
        height: 50vh;
        min-height: 300px;
    }

    .product-item h3 {
        font-size: 24px;
    }

    .product-container:hover .product-item:not(:hover) img {
        filter: brightness(100%);
    }

    .strains-section {
        padding: 50px 8%;
    }

    .strains-section h1 {
        font-size: 36px;
    }

    .search-filter {
        flex-direction: column;
        align-items: center;
    }

    .search-filter input {
        width: 100%;
        max-width: 300px;
    }

    body.reports-page .filters {
        padding: 60px 8% 10px;
    }

    .filters h2 {
        font-size: 28px;
    }

    .search-container input {
        width: 80%;
        max-width: 300px;
    }

    .strain-list {
        padding: 10px 8% 50px;
    }

    .strain-list h2 {
        font-size: 28px;
    }

    .product-details-section {
        padding: 50px 8%;
    }

    .product-content {
        flex-direction: column;
        gap: 20px;
    }

    .product-image img {
        max-width: 100%;
    }

    .product-info {
        text-align: center;
    }

    .amount-selector select {
        width: 100%;
    }

    .health-disclaimer {
        text-align: center;
    }
}

button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

@media (max-width: 480px) {
    .content h1 {
        font-size: 2.5rem;
    }

    .content a {
        font-size: 1rem;
        padding: 0.5rem 1.5rem;
    }

    .hero-title h1 {
        font-size: 28px;
    }

    .nav-logo {
        font-size: 1.5rem;
    }

    .nav-links a {
        font-size: 1rem;
    }

    .title-cards {
        padding: 2rem 4%;
    }

    .card h3 {
        font-size: 1.25rem;
    }

    .card p {
        font-size: 0.9rem;
    }

    .title-cards .card-logo {
        width: 100px;
        height: 100px;
    }

    .flower-section h3 {
        font-size: 2.5rem;
    }

    .category h4 {
        font-size: 1.25rem;
    }

    .product-card h3 {
        font-size: 1.25rem;
    }

    .product-card p {
        font-size: 0.9rem;
    }

    .product-card .card-logo {
        width: 120px;
        height: 120px;
    }

    .see-all-btn {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 360px) {
    .hero {
        height: 50vh;
    }

    body.index-page .hero {
        height: 100vh;
    }

    .content h1 {
        font-size: 2rem;
    }

    .content a {
        font-size: 0.875rem;
        padding: 0.4rem 1rem;
    }

    .nav-logo {
        font-size: 1.25rem;
    }

    .hamburger span {
        width: 25px;
        height: 3px;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .title-cards {
        padding: 1.5rem 4%;
    }

    .flower-section {
        padding: 1.5rem 4%;
    }

    .flower-section h3 {
        font-size: 2rem;
    }

    .category h4 {
        font-size: 1rem;
    }
}

html, body {
  scroll-behavior: smooth;
  overflow-x: hidden;
}