@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Merriweather:wght@300;400;700&display=swap');

:root {
    --bg-color: #fdfbf7;
    --text-color: #333333;
    --heading-color: #4a3b32;
    --accent-color: #2e7d32;
    --accent-hover: #1b5e20;
    --link-color: #2e7d32;
    --font-main: 'Lato', sans-serif;
    --font-heading: 'Merriweather', serif;
    --spacing-unit: 1rem;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--heading-color);
    margin-top: 0;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: var(--link-color);
    transition: color 0.2s;
}

a:hover {
    color: var(--accent-hover);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* Header */
header {
    padding: 1.5rem 0;
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    display: block;
    height: 50px;
    width: auto;
}

nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: var(--heading-color);
}

nav a:hover,
nav a.active {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
}

/* Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 180px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.1);
    z-index: 10;
    top: 100%;
    left: 0;
    padding: 0.5rem 0;
    border-radius: 4px;
    border: 1px solid #eee;
}

.dropdown-content a {
    color: var(--text-color);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-transform: none;
    font-weight: 400;
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: #f5f5f5;
    color: var(--accent-color);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Main Content */
main {
    flex: 1;
}

/* Home Cover */
.home-cover {
    background-image: url('public/images/morels_cover_no_logo_above.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    min-height: 80vh;
    position: relative;
}

.home-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.cover-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    padding: 2rem;
}

.cover-content h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.cover-content p {
    font-size: 1.2rem;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Slider */
.slider-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    display: none;
}

.slide.active {
    display: block;
    animation: fade 0.5s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

.slide img {
    width: 100%;
    display: block;
}

.prev-btn,
.next-btn {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.3s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.4);
    border: none;
}

.next-btn {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev-btn:hover,
.next-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Store Badges */
.store-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.store-badge img {
    height: 50px;
    width: auto;
    transition: transform 0.2s;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.store-badge:hover img {
    transform: scale(1.05);
}

/* About Section */
.about-section {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Features Section */
.features-section {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.features-section ul {
    list-style-type: disc;
    padding-left: 1.5rem;
}

.features-section li {
    margin-bottom: 0.5rem;
}

/* Video Section */
.video-section {
    max-width: 854px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    overflow: hidden;
}

.video-section iframe {
    max-width: 100%;
    display: block;
}

/* Footer */
footer {
    padding: 3rem 0;
    margin-top: auto;
    background-color: #2c2c2c;
    color: #ccc;
    text-align: center;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-links a {
    color: #fff;
    font-weight: bold;
}

.footer-links a:hover {
    color: #a5d6a7;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1em 2.5em;
    background-color: var(--accent-color);
    color: #fff;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
    border-radius: 4px;
    font-weight: 700;
}

.btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

/* Utility */
.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: 1rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    background: #fff;
    border: 1px solid #eee;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.gallery-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-item img {
    width: 100%;
    height: 160px;
    /* Fixed height for thumbnails */
    object-fit: cover;
    /* Crop to fit */
    display: block;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}