@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&family=Merriweather:wght@300;400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Merriweather', Georgia, serif;
	
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Lora', Georgia, serif;
}


:root {
    --primary: #2caf8d;
    --secondary: #e6e7e9;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--secondary);
}

/* Navigáció */
nav {
    background: var(--secondary);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    padding: 0;
}

.logo-image {
    height: 80px;
    width: auto;
    display: block;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: bold;
    padding: 0 1rem;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Banner és Intro */
.banner {
    height: 30vh;
    background: url('../images/banner.jpg') center/cover fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.banner h1 {
    font-size: 3.5rem;
    text-align: center;
    padding: 2rem;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    border-radius: 8px;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid rgba(255,255,255,0.2);
}

@media (max-width: 768px) {
    .banner h1 {
        padding: 1rem;
    }
}

.intro {
    padding: 4rem 1rem;
    max-width: 800px;
    margin: 0 auto;
    background: white;
    overflow: hidden; /* A túlcsordulás kezelése */
}

.intro h2 {
    margin-bottom: 3rem;
    text-align: center;
}
.intro-content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}
.intro-text {
    flex: 1;
}

.intro-image {
    width: 300px; /* vagy auto ha a magasságot állítjuk be */
    height: auto;
    float: right;
    margin-left: 2rem;
    margin-bottom: 1rem;
    border-radius: 8px;
}

/* Kategória szekció */
.category-section {
    padding: 2rem;
    background: var(--secondary);
}

.category {
    max-width: 1200px;
    margin: 2rem auto;
    background: white;
    padding: 2rem;
    border-radius: 8px;
}

.category h2 {
    color: var(--primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary);
}

.category summary {
    cursor: pointer;
    padding: 0.05rem;
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: bold;
    list-style: none;
}

.category summary::after {
    content: '▼';
    float: right;
    transition: transform 0.3s;
}

.category[open] summary::after {
    transform: rotate(180deg);
}

.category summary::-webkit-details-marker {
    display: none;
}

/* Termék grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.product-card {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.product-card img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    cursor: pointer;
}

.product-card h3 {
    margin: 1rem 0;
    font-size: 1rem;
    color: var(--primary);
}

.product-card p {
    font-size: 0.9rem;
    color: #666;
}

.parallax-divider {
    height: 30vh;
    background: url('../images/divider.jpg') center/cover fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin: 2rem 0;
}

.parallax-divider-2 {
    height: 30vh;
    background: url('../images/divider2.jpg') center/cover fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin: 2rem 0;
}

/* Mobil eszközökön kikapcsoljuk a parallax effektet */
@media (max-width: 768px) {
    .parallax-divider-2 {
        background-attachment: scroll;
    }
}


/* Mobil eszközökön kikapcsoljuk a parallax effektet */
@media (max-width: 768px) {
    .parallax-divider {
        background-attachment: scroll;
    }
}

/* Társítási útmutató */
.companion-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
/* Útmutató szekciók */
.guide-category summary {
    display: flex;
    align-items: center;
    justify-content: center;  /* Középre igazítás */
    padding: 1.5rem;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: bold;
    border-bottom: 1px solid var(--secondary);
    position: relative;
    text-align: center;
    gap: 1rem;
}

.guide-icon {
    width: 24px;
    height: 24px;
    color: var(--primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    /* Eltávolítjuk az abszolút pozicionálást */
    margin-right: 0.5rem; /* Extra térköz az ikon és szöveg között */
}

.guide-category[open] .guide-icon {
    transform: rotate(180deg);
}
.companion-group {
    background: var(--secondary);
    padding: 1.5rem;
    border-radius: 8px;
    height: 100%;
}

.companion-group h4 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(0,0,0,0.1);
}

.good-companions, .avoid-companions {
    font-weight: 600;
    margin: 1rem 0 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.good-companions:before, .avoid-companions:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    transform: translateY(-50%);
}

.good-companions:before {
    background: var(--primary);
}

.avoid-companions:before {
    background: #d32f2f;
}

.companion-group ul {
    margin: 0;
    padding-left: 1rem;
}

.companion-group li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.companion-group li:last-child {
    border-bottom: none;
}

/* Grid rendszerek */
.guide-grid, .tips-grid, .companion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.guide-item, .tip-item {
    background: var(--secondary);
    padding: 1.5rem;
    border-radius: 8px;
    height: 100%;
}

/* Vetési naptár */
.season-block {
    margin-bottom: 2rem;
	max-width: 800px;
    margin: 0 auto;
    padding: 1.5rem;
    background: var(--secondary);
    border-radius: 8px;
	text-align: center;
}

.calendar-note {
    text-align: center;
    margin-top: 2rem;
    font-style: italic;
	font-weight: bold;
}

.planting-list {
    list-style: none;
    padding: 0;
    max-width: 600px;
    margin: 0 auto;
    columns: 2; /* Két oszlopba rendezi a listaelemeket */
    column-gap: 2rem; /* Oszlopok közötti térköz */
}

.planting-list li {
    padding: 0.4rem 0; /* Csökkentett térköz */
    border-bottom: 1px solid rgba(0,0,0,0.1);
    break-inside: avoid; /* Megakadályozza, hogy egy listaelem kettétörjön oszlopok között */
}

/* Mobilnézet kezelése */
@media screen and (max-width: 768px) {
    .planting-list {
        columns: 1; /* Egy oszlop mobilon */
    }
}
@media (max-width: 768px) {
    .calendar-section {
        padding: 0.5rem;
    }
    
    .season-block {
        padding: 1rem;
    }
}

/* Kapcsolat és Üzletek */
.contact {
    padding: 4rem 2rem;
    background: white;
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
}

.stores {
    padding: 4rem 2rem;
    background: var(--secondary);
}

.store-list {
    max-width: 1200px;
    margin: 2rem auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media screen and (max-width: 768px) {
    .store-list {
        grid-template-columns: 1fr;
    }
}

.store-item {
    background: white;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
}

.stores h2 {
    text-align: center;
}


/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.modal-close {
    position: absolute;
    right: 35px;
    top: 15px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.modal-close:hover {
    color: #bbb;
}

/* Footer */
footer {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 2rem;
}
/* Minden kategória gomb egységes stílusa */
.open-all-button {
   background-color: var(--primary);
   color: white;  
   border: none;
   padding: 1rem 2rem;
   border-radius: 8px;
   cursor: pointer;
   font-size: 1.1rem;
   font-weight: 500;
   transition: all 0.3s ease;
   box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.open-all-button:hover {
   background-color: #249e7d;
   transform: translateY(-1px);
   box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.open-all-container {
   text-align: center;
   padding: 1.5rem 0;
   margin-bottom: 1rem;
}

/* Reszponzív viselkedés */
@media (max-width: 768px) {
    .guide-content {
        padding: 1rem;
    }
    
    .guide-grid, 
    .tips-grid, 
    .companion-grid,
    .companion-section {
        grid-template-columns: 1fr;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 100%;
    }
}
html {
    scroll-behavior: smooth;
}

/* Opcionális: offset hozzáadása, hogy ne a navigációs sáv alá görgessen */
html {
    scroll-padding-top: 80px; /* A navigációs sáv magasságához igazítva */
}
.guide-content {
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .guide-content {
        max-width: 90%;
    }
}
/* Hamburger menü alapértelmezetten rejtve */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 100;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
}

/* Reszponzív viselkedés */
@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 60px; /* Navigációs sáv magasságához igazítsd */
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 10px 0;
        text-align: center;
    }

    /* Hamburger animáció aktív állapotban */
    .hamburger.active span:first-child {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:last-child {
        transform: rotate(-45deg) translate(6px, -6px);
    }
	.intro-content {
        flex-direction: column;
    }
    
    .intro-image {
        width: 100%;
        margin-left: 0;
        margin-bottom: 2rem;
    }
}
