/* tenyeszetunk.php oldal stílusai — 2026.10.10-ig a tenyeszetunk.php végén volt <style>-ként; a <head>-ben töltődik ($oldalCss), hogy az első kirajzolásnál már érvényes legyen (CLS) */
/* Tenyészetünk oldal stílusok */
.tenyeszet-hero {
    background: linear-gradient(135deg, #5A1F6A 0%, #7B2D8E 100%);
    padding: 4rem 0;
    text-align: center;
    color: white;
    margin-bottom: 2rem;
}

.tenyeszet-section {
    padding: 3rem 0;
}

.tenyeszet-section-alt {
    background-color: #FAF5FF;
}

.tenyeszet-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.tenyeszet-card-icon {
    font-size: 3rem;
    color: #7B2D8E;
    margin-bottom: 1.5rem;
}

.tenyeszet-card-photo {
    margin-bottom: 1.5rem;
}

.tenyeszet-card-photo img {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #7B2D8E;
    box-shadow: 0 5px 20px rgba(123, 45, 142, 0.3);
}

/* Tenyésztő bemutatkozás szekció */
.tenyeszto-intro-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #2D2235 0%, #5A1F6A 100%);
}

.tenyeszto-intro-grid {
    display: grid;
    grid-template-columns: 280px 1fr 280px;
    grid-template-rows: 280px 1fr 280px;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    min-height: 600px;
}

.tenyeszto-corner {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border: 4px solid rgba(255, 255, 255, 0.3);
}

.tenyeszto-corner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tenyeszto-corner-tl {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    align-self: start;
}

.tenyeszto-corner-tr {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    align-self: start;
}

.tenyeszto-corner-bl {
    grid-column: 1;
    grid-row: 3;
    justify-self: start;
    align-self: end;
}

.tenyeszto-corner-br {
    grid-column: 3;
    grid-row: 3;
    justify-self: end;
    align-self: end;
}

.tenyeszto-center {
    grid-column: 2;
    grid-row: 1 / 4;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.tenyeszto-center p {
    color: white;
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 500px;
}

.tenyeszto-cta {
    font-size: 1.5rem !important;
    font-weight: 700;
    color: #f1c40f !important;
    margin-top: 1.5rem !important;
}

@media (max-width: 900px) {
    .tenyeszto-intro-grid {
        grid-template-columns: 150px 1fr 150px;
        grid-template-rows: 150px 1fr 150px;
        gap: 1rem;
    }

    .tenyeszto-corner {
        width: 150px;
        height: 150px;
    }

    .tenyeszto-center p {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .tenyeszto-intro-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        gap: 1rem;
    }

    .tenyeszto-corner {
        width: 120px;
        height: 120px;
        justify-self: center;
    }

    .tenyeszto-corner-tl {
        grid-column: 1;
        grid-row: 1;
    }

    .tenyeszto-corner-tr {
        grid-column: 2;
        grid-row: 1;
    }

    .tenyeszto-center {
        grid-column: 1 / 3;
        grid-row: 2;
        padding: 1.5rem;
    }

    .tenyeszto-corner-bl {
        grid-column: 1;
        grid-row: 3;
    }

    .tenyeszto-corner-br {
        grid-column: 2;
        grid-row: 3;
    }
}

.tenyeszet-card-logo {
    margin-bottom: 1.5rem;
}

.tenyeszet-card-logo img {
    max-height: 120px;
    width: auto;
}

.tenyeszet-card h2 {
    color: #2D2235;
    margin-bottom: 1rem;
}

.tenyeszet-card p {
    color: #666;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Elismerések */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.award-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.award-card:hover {
    transform: translateY(-5px);
}

.award-card {
    cursor: pointer;
}

.award-card-image {
    width: 150px;
    height: 150px;
    overflow: hidden;
    border-radius: 50%;
    margin: 0 auto 1rem;
    border: 3px solid #7B2D8E;
}

.award-card.gold .award-card-image {
    border-color: #8B7500;
}

.award-card.silver .award-card-image {
    border-color: #7f8c8d;
}

.award-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.award-card:hover .award-card-image img {
    transform: scale(1.1);
}

.award-card.silver {
    background: linear-gradient(135deg, #bdc3c7 0%, #95a5a6 100%);
}

.award-card.silver h3 {
    color: #2c3e50;
}

.award-year {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #7B2D8E;
    margin-bottom: 0.3rem;
}

.award-card.gold .award-year {
    color: #8B7500;
}

.award-card.silver .award-year {
    color: #2c3e50;
}

/* Award Modal Lightbox */
.award-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.award-modal.active {
    display: flex;
}

.award-modal-content {
    position: relative;
    max-width: 900px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.award-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.award-modal-close:hover {
    transform: scale(1.2);
}

.award-modal-title {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.award-modal-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* TCS Gallery */
.tcs-gallery-content {
    max-width: 1000px;
}

.tcs-gallery-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.tcs-gallery-nav {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tcs-gallery-nav:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.tcs-gallery-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.tcs-gallery-nav:disabled:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.2);
}

.tcs-gallery-counter {
    color: white;
    text-align: center;
    margin-top: 1rem;
    font-size: 0.95rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .tcs-gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

.award-card.gold {
    background: linear-gradient(135deg, #f7dc6f 0%, #f1c40f 100%);
}

.award-card .award-icon {
    font-size: 2.5rem;
    color: #7B2D8E;
    margin-bottom: 1rem;
}

.award-card.gold .award-icon {
    color: #8B7500;
}

.award-card h3 {
    color: #2D2235;
    margin-bottom: 0.5rem;
}

.award-card.gold h3 {
    color: #8B7500;
}

/* TCS (Csoportos büszkeségeink) szekció */
.tcs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.tcs-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.tcs-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.tcs-card-image {
    width: 200px;
    height: 200px;
    overflow: hidden;
    border-radius: 50%;
    margin: 0 auto 1rem;
    border: 4px solid #7B2D8E;
}

.tcs-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tcs-card:hover .tcs-card-image img {
    transform: scale(1.1);
}

.tcs-year {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #7B2D8E;
    margin-bottom: 0.3rem;
}

.tcs-card h3 {
    color: #2D2235;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.tcs-result {
    color: #27ae60;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.tcs-location {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.tcs-location i {
    color: #e74c3c;
    margin-right: 0.3rem;
}

.tcs-image-count {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.tcs-card-image {
    position: relative;
}

@media (max-width: 576px) {
    .tcs-card-image {
        width: 150px;
        height: 150px;
    }
}

/* Statisztikák */
.tenyeszet-stats-section {
    background: linear-gradient(135deg, #2D2235 0%, #5A1F6A 100%);
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-card {
    text-align: center;
    color: white;
}

.stat-number {
    font-size: 4rem;
    font-weight: 700;
    color: #f1c40f;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    margin-top: 0.5rem;
    opacity: 0.9;
}

/* Média */
.media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.media-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
    text-decoration: none;
}

@media (max-width: 1200px) {
    .media-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .media-grid {
        grid-template-columns: 1fr;
    }
}

.media-card:hover {
    transform: translateY(-5px);
}

.media-card-link {
    display: block;
}

.media-card-image {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 3px solid #7B2D8E;
    position: relative;
}

.media-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.media-card:hover .media-card-image img {
    transform: scale(1.1);
}

.media-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(123, 45, 142, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: background 0.3s ease;
}

.media-card:hover .media-play-icon {
    background: rgba(123, 45, 142, 1);
}

.media-card h3 {
    color: #2D2235;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.media-card p {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

/* Almok grid */
.litters-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

a.litter-card {
    text-decoration: none;
    color: inherit;
}

.litter-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
    width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.litter-card:hover {
    transform: translateY(-5px);
}

.litter-image {
    width: 240px;
    height: 240px;
    min-width: 240px;
    min-height: 240px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 0.8rem;
    border: 4px solid #7B2D8E;
}

.litter-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.litter-card:hover .litter-image img {
    transform: scale(1.1);
}

.litter-name {
    display: block;
    font-weight: 700;
    font-size: 1.2rem;
    color: #2D2235;
    margin-bottom: 0.3rem;
}

.litter-date {
    display: block;
    font-size: 1rem;
    color: #7B2D8E;
    font-weight: 500;
}

/* Egészségügyi kártyák */
.health-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.health-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.health-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #7B2D8E 0%, #5A1F6A 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.health-icon i {
    font-size: 2rem;
    color: white;
}

.health-card-image {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    border: 4px solid #7B2D8E;
}

.health-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.health-card h3 {
    color: #2D2235;
    margin-bottom: 0.5rem;
}

.health-card p {
    color: #666;
}

/* Kölyökcsomag */
.package-checkerboard {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.package-cell {
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.package-text {
    background: white;
    padding: 2rem;
    text-align: center;
    flex-direction: column;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.package-text h3 {
    color: #7B2D8E;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.package-text p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

.package-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.package-image:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .package-checkerboard {
        grid-template-columns: 1fr;
    }
}

/* Magic szokások */
.magic-habits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.magic-habits-text {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.magic-habits-text h3 {
    color: #7B2D8E;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.magic-habits-text p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.7;
}

.magic-habits-text-long {
    text-align: left;
}

.magic-habits-images {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.magic-habits-image {
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 1;
}

.magic-habits-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.magic-habits-image:hover img {
    transform: scale(1.05);
}

@media (max-width: 992px) {
    .magic-habits-grid {
        grid-template-columns: 1fr;
    }
    .magic-habits-images {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .magic-habits-images {
        grid-template-columns: 1fr;
    }
}

/* Family section */
.family-content {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    max-width: 800px;
    margin: 0 auto;
}

.family-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.family-text ul {
    list-style: none;
    padding: 0;
}

.family-text li {
    padding: 0.5rem 0;
    color: #2D2235;
}

.family-text li i {
    color: #27ae60;
    margin-right: 0.5rem;
}

/* Tradíciók */
.traditions-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.tradition-item {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tradition-item i {
    font-size: 1.5rem;
    color: #e74c3c;
}

.tradition-item span {
    color: #2D2235;
    font-weight: 500;
}

/* Section titles */
.section-title.light {
    color: white;
}

/* Bernisek vagyunk szekció */
.bernisek-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.bernisek-intro {
    font-size: 1.3rem;
    color: #5A1F6A;
    margin-top: 2rem;
    margin-bottom: 2rem;
    font-weight: 500;
}

.bernisek-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.bernisek-item {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.bernisek-item:hover {
    transform: translateY(-5px);
}

.bernisek-item i {
    font-size: 1.5rem;
    color: #7B2D8E;
}

.bernisek-item span {
    color: #2D2235;
    font-weight: 500;
}

.bernisek-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.bernisek-image {
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

.bernisek-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.bernisek-image:hover img {
    transform: scale(1.1);
}

@media (max-width: 992px) {
    .bernisek-images {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .bernisek-images {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Carousel */
.carousel-container {
    position: relative;
    max-width: 900px;
    margin: 2rem auto 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.carousel-wrapper {
    overflow: hidden;
    border-radius: 15px;
    flex: 1;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
}

.carousel-btn {
    background: linear-gradient(135deg, #7B2D8E 0%, #5A1F6A 100%);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.carousel-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(123, 45, 142, 0.4);
}

.carousel-btn i {
    pointer-events: none;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s ease;
}

.carousel-dot.active {
    background: #7B2D8E;
}

/* Responsive */
@media (max-width: 768px) {
    .tenyeszet-hero {
        padding: 2rem 0;
    }

    .stat-number {
        font-size: 3rem;
    }

    .tenyeszet-card {
        padding: 1.5rem;
    }

    .carousel-slide img {
        height: 250px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Scroll to top gomb */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #5A1F6A 0%, #7B2D8E 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(123, 45, 142, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, #7B2D8E 0%, #5A1F6A 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(123, 45, 142, 0.5);
}

/* CTA szekció fehér szöveggel */
.cta-section-light h2,
.cta-section-light p {
    color: white;
}

.cta-section-light p {
    margin-bottom: 2rem;
}
