:root {
    /* Alap színek */
    --primary-color: #000000;     /* Tiszta fekete */
    --secondary-color: #8B4513;   /* Meleg barna (tacskó szín) - minimálisan használva */
    --accent-color: #ffffff;      /* Sötét szürke helyett fehér */
    --dark-color: #000000;        /* Tiszta fekete */
    
    /* Semleges színek */
    --light-color: #000000;       /* Feketére állítjuk */
    --card-bg: #ffffff;           /* Tiszta fehér */
    --border-color: #dddddd;      /* Világos szürke */
    
    /* Szöveg színek */
    --text-color: #ffffff;        /* Fehér szöveg az olvashatóságért */
    --hover-color: #8B4513;       /* Hover állapotnál barna */
    
    /* Kiegészítő színek */
    --success: #333333;     /* Sötét szürke */
    --warning: #8B4513;     /* Barna */
    --error: #000000;       /* Fekete */
    
    /* Text színek */
    --text-primary: #ffffff;      /* Fehér elsődleges szöveg */
    --text-secondary: #dddddd;    /* Világosszürke másodlagos szöveg */
    --text-light: #ffffff;        /* Fehér világos szöveg */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    line-height: 1.6;
    background-color: var(--light-color);
    color: var(--text-color);
    min-height: 100vh;
    padding-bottom: 80px; /* footer magassága + extra padding */
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/hatter.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(3px) brightness(1.2);  /* Csökkentett blur és növelt fényerő */
    opacity: 0.5;  /* Növelt átlátszóság */
    z-index: -1;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0.85rem 0;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    color: #000000;
    overflow: hidden;
}

header::before,
header::after {
    display: none;
}

.logo {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Mobil nézetben is egymás mellett legyenek a logók */
@media (max-width: 768px) {
    .logo {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100%;
    }
    .logo img,
    .farmina-logo {
        height: 60px ;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        margin-left: 0 !important;
        margin-right: 10px !important;
        object-fit: contain;
        display: inline-block;
        vertical-align: middle;
    }
    .farmina-logo {
        height: 30px !important;
        margin-left: 10px !important;
        margin-right: 0 !important;
    }
}


.logo img {
    height: 145px;
    width: auto;
    object-fit: contain;
    margin-top: -32.5px;
    margin-bottom: -32.5px;
    filter: drop-shadow(0 6px 12px rgba(0,0,0,0.25));
    transition: filter 0.15s ease;
}

.logo img:hover {
    filter: drop-shadow(0 8px 16px rgba(0,0,0,0.35));
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 1rem;
    height: 80px; /* Fix magasság */
    position: relative;
    z-index: 1;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin: 0 auto;
}

.nav-links a {
    color: #000000; /* Fekete szöveg */
    text-decoration: none;
    font-weight: 600;
    font-size: 1.3rem;
    transition: color 0.15s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.15s ease;
}

.nav-links a:hover {
    color: var(--secondary-color); /* Tacskó barna szín hover állapotban */
}

/* Navbar hover animáció visszaállítása */
.nav-links a:hover::after {
    width: 100%;
}

main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.hirek {
    background-color: transparent;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    margin-top: 2rem;
    box-shadow: none;
}

.hirek h2 {
    font-family: 'Playfair Display', serif;
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* Hír- és előnykártyák üveghatással */
.hir-kartya,
.elony-kartya {
    position: relative;
    background: rgb(255, 255, 255);
    color: #000000;
    padding: 1.75rem;
    margin-top: 1rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(20px) saturate(130%);
    -webkit-backdrop-filter: blur(20px) saturate(130%);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.hir-kartya::before,
.elony-kartya::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.06) 70%);
    pointer-events: none;
}

.hir-kartya::after,
.elony-kartya::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    background: linear-gradient(180deg, rgba(139, 69, 19, 0.85) 0%, rgba(139, 69, 19, 0.45) 100%);
    pointer-events: none;
}

.hir-kartya > *,
.elony-kartya > * {
    position: relative;
    z-index: 1;
}

.hir-kartya:hover,
.elony-kartya:hover {
    transform: translateY(-6px);
    background: rgb(255, 255, 255);
    border-color: rgba(255, 255, 255, 0.55);
    box-shadow: 0 26px 62px rgba(0, 0, 0, 0.22);
}

.hir-kartya:hover::after,
.elony-kartya:hover::after {
    background: linear-gradient(180deg, rgba(139, 69, 19, 0.95) 0%, rgba(139, 69, 19, 0.55) 100%);
}

.hir-kartya {
    opacity: 0;
    transform: translateX(-50px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hir-kartya h3 {
    color: #000000;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    text-shadow: none;
}

.hir-kartya p {
    color: #000000;
}

.hir-datum {
    color: #666666;
    font-style: italic;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.hir-kartya.animate {
    transform: translateX(0);
    opacity: 1;
}


.intro-highlight {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.intro-card {
    position: relative;
    background: transparent;
    border-radius: 22px;
    padding: 2.5rem;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.intro-card.intro-combined {
    display: grid;
    grid-template-columns: minmax(280px, 1.1fr) minmax(260px, 0.9fr);
    gap: 2.5rem;
    align-items: start;
}

.intro-card.intro-combined .intro-welcome,
.intro-card.intro-combined .intro-latest-news {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.intro-card.intro-combined .intro-welcome {
    padding-right: 2.25rem;
    border-right: 1px solid rgb(0, 0, 0);
}

.intro-card.intro-combined .latest-news-card {
    background:rgb(255, 255, 255);
    border-radius: 18px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.18);
    position: relative;
    overflow: hidden;
}

.intro-card.intro-combined .latest-news-card::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    background: linear-gradient(180deg, rgba(139, 69, 19, 0.85) 0%, rgba(139, 69, 19, 0.45) 100%);
    pointer-events: none;
    border-radius: 18px 0 0 18px;
}

.intro-card::before {
    display: none;
}

.intro-card > * {
    position: relative;
    z-index: 1;
}

.intro-card:hover {
    transform: translateY(-6px);
}

.intro-welcome h2 {
    font-family: 'Playfair Display', serif;
    color: rgb(255, 255, 255);
    font-size: 2rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.intro-welcome p {
    color: rgb(255, 255, 255);
    font-size: 1.05rem;
    line-height: 1.8;
}

.intro-latest-news h3 {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgb(255, 255, 255);
    margin-bottom: 1rem;
}

.latest-news-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.latest-news-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: #000000;
}

.latest-news-card p {
    color: rgba(20, 20, 20, 0.95);
    line-height: 1.7;
}

.latest-date {
    font-size: 0.95rem;
    color: rgba(80, 80, 80, 0.85);
}

@media (max-width: 768px) {
    .intro-highlight {
        grid-template-columns: 1fr;
        padding: 1.5rem 0;
    }

    .intro-card {
        padding: 2rem;
    }

    .intro-card.intro-combined {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .intro-card.intro-combined .intro-welcome {
        padding-bottom: 0;
        border-right: none;
        padding-bottom: 1.75rem;
        border-bottom: 1px solid rgb(0, 0, 0);
    }
}

footer {
    background-color: black;
    color: white   ;
    text-align: center;
    padding:1rem;
    position: absolute;
    bottom: 0;
    width: 100%;
}

footer p {
    color: white   ;
}

@media (max-width: 768px) {
    nav {
        height: auto;
        padding: 0.75rem 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: relative;
        gap: 0.5rem;
    }

    .logo {
        margin: 0;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: column;
        align-items: center;
        gap: 0.35rem;
        width: 100%;
    }

    .logo img {
        height: 90px;
        margin: 0;
    }

    .title-container {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 0 48px;
        position: relative;
    }

    .logo h1 {
        font-size: 1.6rem;
        margin: 0;
        text-align: center;
    }

    .menu-toggle {
        display: flex !important;
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1500;
    }

    .language-selector {
        position: fixed;
        top: 20px;
        right: 20px;
        margin: 0;
        z-index: 1500;
    }

    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgb(255, 255, 255);
        border: 1px solid rgba(255, 255, 255, 0.32);
        box-shadow: 0 32px 70px rgba(0, 0, 0, 0.28);
        backdrop-filter: blur(26px) saturate(160%);
        -webkit-backdrop-filter: blur(26px) saturate(160%);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.2rem;
        z-index: 1400;
        height: 100vh;
        width: 100vw;
        margin: 0;
        padding: 110px 24px 40px;
        opacity: 0;
        visibility: hidden;
        transform: translateX(100%);
        transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
        color: #000000;
        list-style: none;
    }

    .nav-links li {
        width: min(100%, 320px);
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }

    .nav-links a {
        opacity: 0;
        transform: translateX(20px);
        transition: transform 0.3s ease, opacity 0.3s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
        transition-delay: 0.2s;
        width: 100%;
        justify-content: center;
        font-size: 1.1rem;
        padding: 0.75rem 1.35rem;
        background: rgba(255, 255, 255, 0.26);
        border-color: rgba(255, 255, 255, 0.55);
        box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
    }

    .nav-links.active a {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-links.active a:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active a:nth-child(2) { transition-delay: 0.2s; }
    .nav-links.active a:nth-child(3) { transition-delay: 0.3s; }
    .nav-links.active a:nth-child(4) { transition-delay: 0.4s; }
    .nav-links.active a:nth-child(5) { transition-delay: 0.5s; }

    header {
        min-height: 100px;
        overflow: visible;
    }

    main {
        padding-top: 160px;
    }
}

/* Még kisebb képernyőkön */
@media (max-width: 480px) {
    nav {
        height: 80px; /* Kicsit kisebb magasság */
    }

    .logo img {
        height: 100px; /* Kicsit kisebb logo */
    }

    .nav-links {
        top: 80px;
    }

    main {
        padding-top: 100px;
    }
}

/* Kutya kártyák konténer és elrendezés */
.kutya-kartyak {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 1.5rem 0;
    align-items: start;
}

/* Kutya kártyák stílusa */
.kutya-kartya {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    background: rgb(255, 255, 255);;
    border-radius: 16px;
    padding: 1.75rem;
    border: 1px solid rgb(255, 255, 255);
    backdrop-filter: blur(20px) saturate(125%);
    -webkit-backdrop-filter: blur(20px) saturate(125%);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.22);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
    align-self: start;
    position: relative;
    overflow: hidden;
}

.kutya-kartya::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.04) 65%);
    pointer-events: none;
    opacity: 0.9;
}

.kutya-kartya > * {
    position: relative;
    z-index: 1;
}

.kutya-kartya:hover {
    transform: translateY(-6px);
    background: rgb(255, 255, 255);
    border-color: rgb(255, 255, 255);
    box-shadow: 0 28px 65px rgba(0, 0, 0, 0.24);
}

.kutya-header {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.kutya-header h3 {
    color: #000000;
    font-family: 'Playfair Display', serif;
    font-size: 1.45rem;
    margin: 0;
    font-weight: 700;
}

.kutya-stud {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(139, 69, 19, 0.12);
    color: #8B4513;
    font-weight: 600;
    font-size: 0.95rem;
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kutya-meta {
    color: #000000;
    font-size: 0.95rem;
    line-height: 1.5;
}

.kutya-meta span {
    color: inherit;
    font-weight: 600;
}

.kutya-image {
    border-radius: 14px;
    background: rgb(255, 255, 255);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.13);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.kutya-image img {
    width: 100%;
    max-height: 320px;
    object-fit: contain;
}

.kutya-details {
    display: grid;
    gap: 1rem;
}

.kutya-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.kutya-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: #000000;
}

/* Achievement tag-ek elrendezése */
.achievement-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.achievement-tag {
    background-color: rgba(206, 206, 206, 0.658);
    color: #000;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.9rem;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.65);
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.achievement-tag:hover {
    background-color: rgba(139, 69, 19, 0.65);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.18);
}

/* Reszponzív beállítások */
@media (max-width: 900px) {
    .kutya-kartyak {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 600px) {
    .kutya-kartya {
        padding: 1.5rem;
    }

    .kutya-image {
        padding: 1rem;
    }

    .kutya-image img {
        max-height: 240px;
    }

    .achievement-container {
        gap: 0.4rem;
    }
}

.gallery-thumb-strip {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.gallery-thumb-strip img {
    width: 88px;
    height: 88px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex: 0 0 auto;
}

.gallery-thumb-strip img:hover,
.gallery-thumb-strip img:focus {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.gallery-thumb-strip::-webkit-scrollbar {
    height: 6px;
}

.gallery-thumb-strip::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 999px;
}

@media (max-width: 768px) {
    .gallery-thumb-strip {
        margin-top: 1rem;
        gap: 0.5rem;
    }

    .gallery-thumb-strip img {
        width: 74px;
        height: 74px;
    }
}

/* Kutyák lista szekció */
.kutyak-lista {
    padding: 2rem 1rem;
}

.kutyak-lista h2 {
    text-align: center;
    margin-bottom: 2rem;
}

/* Kutya kártyák grid elrendezése */
.kutya-kartyak {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 2.5rem;
    padding: 1.5rem 0 0;
    align-items: start;
}

/* Reszponzív módosítások */
@media (max-width: 1024px) {
    .kutya-kartyak {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 600px) {
    .kutya-kartyak {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Kutya kártyák szövegszínének módosítása */
.kutya-kartya h3,
.kutya-kartya p {
    color: #000000;
}

/* Alom kártyák stílusa */
.alom-kartya {
    position: relative;
    background: rgb(255, 255, 255);
    border-radius: 18px;
    padding: 2.25rem;
    margin-bottom: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(22px) saturate(125%);
    -webkit-backdrop-filter: blur(22px) saturate(125%);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.alom-kartya::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.26) 0%, rgba(255,255,255,0.05) 70%);
    pointer-events: none;
}

.alom-kartya > * {
    position: relative;
    z-index: 1;
}

.alom-kartya:hover {
    transform: translateY(-6px);
    background: rgba(196, 132, 132, 0.34);
    border-color: rgba(255, 255, 255, 0.55);
    box-shadow: 0 28px 65px rgba(0, 0, 0, 0.24);
}

.szulok {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 1.5rem 0;
}

/* Kapcsolat oldal stílusa */
.kapcsolat-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.kapcsolat-urlap {
    background: transparent;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: none;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--secondary-color);
    border-radius: 4px;
    font-family: inherit;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

button[type="submit"] {
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

button[type="submit"]:hover {
    background: linear-gradient(to right, var(--accent-color), var(--secondary-color));
    transform: translateY(-2px);
}

/* Reszponzív módosítások */
@media (max-width: 768px) {
    .kapcsolat-info {
        grid-template-columns: 1fr;
    }
    
    .szulok {
        grid-template-columns: 1fr;
    }
}

/* Rólunk oldal stílusai */
.rolunk-content {
    background: transparent;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: none;
}

.bemutatkozas {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.tenyeszto-profil {
    text-align: center;
}

.tenyeszto-kep {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--secondary-color);
}

.tenyeszto-profil h3 {
    color: #ffffff;
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
}

.titulus {
    color: var(--secondary-color);
    font-style: italic;
}

.szoveg p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Reszponzív módosítások */
@media (max-width: 768px) {
    .bemutatkozas {
        grid-template-columns: 1fr;
    }
    
    .tenyeszto-profil {
        margin-bottom: 2rem;
    }
}

/* Címsorok egységes stílusa */
h2 {
    color: #ffffff;
    font-family: 'Playfair Display', serif;
    position: relative;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* Kártyák finom árnyékolása - teljesen átlátszó háttérrel */
.hirek,
.galeria,
.elonyok,
.rolunk-content,
.kapcsolat-urlap {
    background: transparent;
    box-shadow: none;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem auto;
    position: relative;
    overflow: hidden;
}
/* Támogató szekció stílusok */
.tamogato {
    text-align: center;
    padding: 2px 0 1px 0;
    margin-bottom: 6px;
}
.tamogato h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}
.tamogato img[alt="Farmina"] {
    width: 240px;
    max-width: 100%;
    vertical-align: middle;
    margin-left: 12px;
}

@media (max-width: 600px) {
    .tamogato {
        padding: 12px 0 10px 0;
    }
    .tamogato h3 {
        font-size: 1.1rem;
        gap: 8px;
    }
    .tamogato img[alt="Farmina"] {
        width: 110px;
        margin-left: 6px;
    }
}
.hir-kartya h3 {
    color: #000000;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    text-shadow: none;
}

.hir-datum {
    color: #666666;
    font-style: italic;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Módosítások az előny kártyákhoz */
.elony-kartya {
    opacity: 0;
    transform: translateX(-50px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                opacity 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    padding-top: 1.75rem;
}

.elony-kartya .icon {
    position: absolute;
    top: -20px; /* Negatív érték, hogy kilógjon */
    right: -20px; /* Negatív érték, hogy kilógjon */
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.2s ease;
}

.elony-kartya:hover .icon {
    transform: rotate(15deg) scale(1.1); /* Hover effekt az ikonra */
}

.elony-kartya .icon svg {
    width: 24px;
    height: 24px;
    fill: #ffffff;
}

.elony-kartya.animate {
    transform: translateX(0);
    opacity: 1;
}

.elony-kartya h3 {
    color: #000000;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    text-shadow: none;
}

.elony-kartya p {
    color: #333333;
    line-height: 1.6;
}

.elony-kartya.animate {
    transform: translateX(0);
    opacity: 1;
}

/* Késleltetett animáció minden kártyának */
.elony-kartya.animate:nth-child(1) { transition-delay: 0.1s; }
.elony-kartya.animate:nth-child(2) { transition-delay: 0.2s; }
.elony-kartya.animate:nth-child(3) { transition-delay: 0.3s; }
.elony-kartya.animate:nth-child(4) { transition-delay: 0.4s; }
.elony-kartya.animate:nth-child(5) { transition-delay: 0.5s; }
.elony-kartya.animate:nth-child(6) { transition-delay: 0.6s; }

/* Reszponzív módosítások */
@media (max-width: 768px) {
    .elonyok {
        padding: 1rem;
    }
    
    .elonyok-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .elony-kartya {
        padding: 1.2rem;
    }
}

/* Képgaléria stílusok */
.galeria {
    background-color: transparent;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem auto;
    box-shadow: none;
}

.galeria h2 {
    font-family: 'Playfair Display', serif;
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.05);
}

.galeria-container {
    position: relative;
    max-width: 800px;
    height: 500px;  /* Fix magasság minden képhez */
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.1); /* Add a slight dark background */
}

.galeria-slider {
    position: relative;
    height: 100%;
    width: 100%;
}

.galeria-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;  /* Change to flex */
    justify-content: center;  /* Center horizontally */
    align-items: center;  /* Center vertically */
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.galeria-slide.active {
    display: flex;
    opacity: 1;
}

.galeria-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.kutyaNev {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease-in-out;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px 0;
}

.galeria-slide.active .kutyaNev {
    opacity: 1;
    transform: translateY(0);
}

/* A navigációs gombok stílusának finomítása */
.galeria-gomb {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.18);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 2;
}

.galeria-gomb:hover {
    background: rgba(255, 255, 255, 0.26);
    transform: translateY(-50%) scale(1.1);
}

.galeria-gomb.elozo {
    left: 20px;
}

.galeria-gomb.kovetkezo {
    right: 20px;
}

/* Pontok stílusának finomítása */
.galeria-pontok {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.pont {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.pont:hover,
.pont.active {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.2);
}

.fab {
    padding: 10px;
    font-size: 20px;
    width: 50px;
    text-align: center;
    text-decoration: none;
    margin: 5px 2px;
    border-radius: 10px;
  }
  
  .fab:hover {
    transform: scale(1.1);
      color: white;
  }
  
  .fa-facebook {
    background: #3B5998;
    color: white;
  }
  .fa-whatsapp {
    padding: 5px;
    font-size: 15px;
    width: 25px;
    text-align: center;
    text-decoration: none;
    margin: 3px 1px;
    border-radius: 5px;
    background: green;
    color: white;
  }
  .fa-instagram {
    background: #833ab4;
    background: linear-gradient(
      to right,
      #833ab4,#fd1d1d,#fcb045);
    color: white;
  }
  .fa-tiktok {
    background: #000000;
    color: white;
  }
/* Reszponzív módosítások a galériához */
@media (max-width: 768px) {
    .galeria {
        padding: 1rem;
    }

    .galeria-gomb {
        width: 35px;
        height: 35px;
    }

    .galeria-gomb svg {
        width: 20px;
        height: 20px;
    }

    .galeria-gomb.elozo {
        left: 10px;
    }

    .galeria-gomb.kovetkezo {
        right: 10px;
    }
}

/* Modal képgaléria stílusok */
.modal-galeria {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    padding: 20px;
}

.modal-galeria.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-tartalom {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
}

.modal-kep {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

.modal-bezar {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    padding: 10px;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 24px;
    padding: 20px 15px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.modal-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-elozo {
    left: 20px;
}

.modal-kovetkezo {
    right: 20px;
}

.modal-szamlalo {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 14px;
}

/* Linkek hover effektje */
a:hover {
    color: var(--hover-color);
    transition: color 0.3s ease;
}

.kolyok-galeria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.kolyok-galeria img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.kolyok-galeria img:hover {
    transform: scale(1.05);
}

/* Hamburger menü ikon - alapból rejtve */
.menu-toggle {
    display: none;  /* Alapértelmezetten rejtve */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #000000; /* Changed from var(--text-color) to black */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Make sure the active state also uses black */
.menu-toggle.active span {
    background-color: #000000;
}

/* Keep the transforms for active state */
.menu-toggle.active span:first-child {
    transform: rotate(45deg) translate(6px, 6px);
    background-color: #000000;
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
    background-color: #000000;
}

.menu-toggle.active span:last-child {
    transform: rotate(-45deg) translate(6px, -6px);
    background-color: #000000;
}

/* Mobilnézet módosításai */
@media (max-width: 768px) {
    /* Töröljük az első .menu-toggle definíciót */
    .menu-toggle {
        display: flex !important;  /* Felülírjuk az alapértelmezett none értéket */
    }

    header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 998;
        min-height: 70px;
        padding: 1rem;
    }

    nav {
        flex-direction: column;
        align-items: center;
    }

    .logo {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        width: 100%;
        position: relative;
    }

    .logo img {
        height: 80px;
        margin: 0;
    }

    .title-container {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        position: relative;
        padding: 0 40px;  /* Hely a hamburger menünek */
    }

    .logo h1 {
        font-size: 1.6rem;  /* Kisebb betűméret mobilon */
        margin: 0;
        padding: 0;
        text-align: center;
    }

    .menu-toggle {
        display: flex;  /* Mobilnézetben megjelenítjük */
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgb(255, 255, 255);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0.8rem;
        z-index: 997;
        height: 100vh;
        width: 100vw;
        margin: 0;
        padding: 70px 20px 20px;
        opacity: 0;
        visibility: hidden;
        transform: translateX(100%);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        color: #000000; /* Fekete szöveg */
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }

    .nav-links a {
        opacity: 0;
        transform: translateX(20px);
        transition: all 0.3s ease;
        transition-delay: 0.2s;
    }

    .nav-links.active a {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-links.active a:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active a:nth-child(2) { transition-delay: 0.2s; }
    .nav-links.active a:nth-child(3) { transition-delay: 0.3s; }
    .nav-links.active a:nth-child(4) { transition-delay: 0.4s; }
    .nav-links.active a:nth-child(5) { transition-delay: 0.5s; }

    main {
        padding-top: 160px;
    }
}

/* Amikor a menü aktív, a body ne görgethető legyen */
body.menu-active {
    overflow: hidden;
}

/* Nyelvválasztó gombok színének módosítása */
.lang-btn {
    background: none;
    border: 1px solid #000000;
    color: #000000;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    min-width: 40px;
    text-align: center;
    height: 28px;
}

/* Hírek lapozás stílusok */
.hirek-container {
    position: relative;
}

.hirek-oldal {
    display: none;
}

.hirek-oldal.active {
    display: block;
}

.lapozas {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.lapozas-gomb {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #000000;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: 700;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.lapozas-gomb:hover {
    background: rgba(255, 255, 255, 0.26);
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 24px 52px rgba(0, 0, 0, 0.26);
}

.lapozas-gomb.active {
    background: linear-gradient(145deg, rgba(139, 69, 19, 0.92), rgba(139, 69, 19, 0.78));
    border-color: rgba(255, 255, 255, 0.55);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 28px 58px rgba(0, 0, 0, 0.28);
}

/* Nyelvválasztó stílusok */
.language-selector {
    display: flex;
    gap: 0.5rem;
    margin-left: 1rem;
}

/* Magyar zászló - beágyazott SVG */
.lang-btn[data-lang="hu"]:hover,
.lang-btn[data-lang="hu"].active {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 28'%3E%3Crect width='40' height='9.33' fill='%23ce2939'/%3E%3Crect y='9.33' width='40' height='9.33' fill='%23fff'/%3E%3Crect y='18.66' width='40' height='9.33' fill='%23477050'/%3E%3C/svg%3E") center/cover no-repeat;
    border-color: transparent;
    color: transparent;
}

/* Angol zászló - beágyazott SVG */
.lang-btn[data-lang="en"]:hover,
.lang-btn[data-lang="en"].active {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 28'%3E%3Crect width='40' height='28' fill='%23012169'/%3E%3Cpath d='M0,0 L40,28 M40,0 L0,28' stroke='%23fff' stroke-width='4'/%3E%3Cpath d='M20,0 L20,28 M0,14 L40,14' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='M20,0 L20,28 M0,14 L40,14' stroke='%23C8102E' stroke-width='4'/%3E%3C/svg%3E") center/cover no-repeat;
    border-color: transparent;
    color: transparent;
}

/* Mobilnézet módosítások */
@media (max-width: 768px) {
    .language-selector {
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 999;
        margin: 0;
    }

    .lang-btn {
        font-size: 0.8rem;
        padding: 0.2rem 0.5rem;
    }
}

/* Előnyök szekció stílusai */
.elonyok {
    background-color: transparent;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem auto;
    box-shadow: none;
}

.elonyok h2 {
    font-family: 'Playfair Display', serif;
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.05);
}

.elonyok-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
}

.elony-kartya {
    position: relative;
    padding-top: 2rem; /* Extra padding az ikon számára */
}

.elony-kartya .icon {
    position: absolute;
    top: 10px; /* Módosítva -10px-ről 10px-re */
    right: 10px; /* Módosítva -10px-ről 10px-re */
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: transform 0.2s ease;
}

.elony-kartya .icon svg {
    width: 24px;
    height: 24px;
    fill: #ffffff;
}

.elony-kartya h3 {
    color: #000000;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    text-shadow: none;
}

.elony-kartya p {
    color: #333333;
    line-height: 1.6;
}

/* Késleltetett animáció minden kártyának */
.elony-kartya.animate:nth-child(1) { transition-delay: 0.1s; }
.elony-kartya.animate:nth-child(2) { transition-delay: 0.2s; }
.elony-kartya.animate:nth-child(3) { transition-delay: 0.3s; }
.elony-kartya.animate:nth-child(4) { transition-delay: 0.4s; }
.elony-kartya.animate:nth-child(5) { transition-delay: 0.5s; }
.elony-kartya.animate:nth-child(6) { transition-delay: 0.6s; }

/* Reszponzív módosítások */
@media (max-width: 768px) {
    .elonyok {
        padding: 1rem;
    }
    
    .elonyok-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .elony-kartya {
        padding: 1.2rem;
    }
}

/* Médialekérdezés a PC nézethez */
@media (min-width: 992px) {
    .elonyok-container {
        grid-template-columns: repeat(3, 300px);
        justify-content: center;
    }
}

/* Mobilnézet megtartása */
@media (max-width: 991px) {
    .elonyok-container {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
}

.galeria-slide {
    position: absolute;  /* absolute pozicionálás */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;  /* Change to flex */
    justify-content: center;  /* Center horizontally */
    align-items: center;  /* Center vertically */
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.galeria-slide.active {
    display: flex;
    opacity: 1;
}

.galeria-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.kutyaNev {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease-in-out;
}

.galeria-slide.active .kutyaNev {
    opacity: 1;
    transform: translateY(0);
}