* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    line-height: 1.6;
    background-color: var(--bg-light);
}







:root {
    --primary-green: #4a5d4e;
    --primary-dark: #364439;
    --bg-light: #eef2ef;
    --text-dark: #2d342f;
    --text-light: #6a756e;
    --white: #ffffff;
    --shadow-soft: 0 15px 35px rgba(74, 93, 78, 0.08);
    --radius: 16px;
    --transition: all 0.3s ease;
}

/* czcionkA na całej stronie */
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

h1, h2, h3 {
    font-family: 'Inter', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; 
}

.main-header {
    position: relative;
    height: 80vh; 
    min-height: 500px;
    background-image: url('img/header-bg.jpg'); 
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.header-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(45, 52, 47, 0.4), rgba(74, 93, 78, 0.7));
}

.header-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    padding: 0 20px;
    animation: fadeInDown 1s ease-out;
}

.header-content h1 {
    color: var(--white);
    font-size: 4rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.header-content p {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 30px;
}

.badge {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    backdrop-filter: blur(5px);
    display: inline-block;
    margin-bottom: 20px;
}

/* Przycisk */
.btn-primary {
    display: inline-block;
    background-color: var(--white);
    color: var(--primary-green);
    padding: 14px 32px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    background-color: var(--primary-green);
    color: var(--white);
    transform: translateY(-3px);
}

.navbar {
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    padding: 20px 0;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0; height: 2px;
    bottom: -5px; left: 0;
    background-color: var(--primary-green);
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-green);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-green);
    font-size: 2rem;
    padding: 15px;
    cursor: pointer;
    width: 100%;
    text-align: left;
}

/* --- GŁÓWNA TREŚĆ --- */
main {
    padding: 80px 0;
}

.card {
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.accent-line {
    width: 60px;
    height: 3px;
    background-color: var(--primary-green);
    margin: 15px 0 25px 0;
}

/* O Nas */
.welcome-card {
    display: flex;
    margin-bottom: 60px;
}

.card-text {
    flex: 1;
    padding: 50px;
}

.card-text h2 {
    font-size: 2.5rem;
}

.card-text p {
    margin-bottom: 15px;
    color: var(--text-light);
}

.card-text strong {
    color: var(--text-dark);
}

.card-image {
    flex: 1;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Zdrowie */
.health-card {
    text-align: center;
    padding: 60px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.icon-placeholder {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.health-card h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.health-card p {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* --- FOOTER --- */
.main-footer {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 1.3rem;
    font-family: 'Inter', sans-serif;
}

address {
    font-style: normal;
    line-height: 1.8;
}

.contact-link {
    display: block;
    color: var(--white);
    text-decoration: none;
    margin-bottom: 15px;
    transition: var(--transition);
}

.contact-link:hover {
    color: #a4bba8; 
    transform: translateX(5px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    background-color: #2a352c;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}

/* --- RESPONSYWNOŚĆ --- */
@media (max-width: 992px) {
    .welcome-card {
        flex-direction: column;
    }
    
    .card-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .header-content h1 {
        font-size: 2.8rem;
    }
    
    .nav-container {
        flex-direction: column;
    }
    
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        padding: 0 20px 20px 20px;
        gap: 15px;
        text-align: center;
    }

    .nav-active {
        display: flex;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-link:hover {
        transform: none; 
    }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

.card {
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    overflow: hidden;
    border: 5px solid rgba(42, 53, 44, 0.4); 
}
.card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
    
    /* Ramka staje się nieco ciemniejsza przy najechaniu */
    border-color: rgba(42, 53, 44, 0.8); 
}



/* --- aktualnosci --- */
.page-margin {
    padding-top: 60px;
    padding-bottom: 80px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.news-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.news-card {
    border: 4px solid rgba(74, 93, 78, 0.2); /* Ta zielona obramówka */
    display: flex;
    flex-direction: column;
}

.news-content {
    padding: 40px;
}

.news-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-date {
    color: var(--text-light);
}

.news-category {
    color: var(--primary-green);
    background-color: rgba(74, 93, 78, 0.1);
    padding: 2px 10px;
    border-radius: 4px;
}

.news-card h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.btn-text {
    display: inline-block;
    margin-top: 20px;
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-text:hover {
    padding-left: 10px;
}

/* Responsywność */
@media (max-width: 768px) {
    .news-content {
        padding: 25px;
    }
    
    .section-header h1 {
        font-size: 2.2rem;
    }
}

/* --- eurasier --- */
.dog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px;
    padding-top: 40px;
    margin-bottom: 40px;
}


@media screen and (max-width: 1024px) {
    .dog-grid {
        grid-template-columns: repeat(2, 1fr) !important; 
    }
}


@media screen and (max-width: 650px) {
    .dog-grid {
        grid-template-columns: 1fr !important; 
    }
    .dog-info {
        padding: 20px 10px;
    }
}

.dog-card {
    border: 1px solid rgba(74, 93, 78, 0.2);
    text-align: center;
    background-color: var(--white);
    transition: var(--transition);
}

.dog-image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-bottom: 1px solid rgba(74, 93, 78, 0.1);
}

.dog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.dog-card:hover .dog-image img {
    transform: scale(1.05);
}

.dog-info {
    padding: 30px 15px;
}

.dog-info h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: var(--primary-green);
}

.small-accent {
    width: 30px;
    height: 2px;
    background-color: var(--primary-green);
    margin: 0 auto 12px auto;
    opacity: 0.5;
}

.dog-title {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.dog-card {
    text-decoration: none; 
    color: inherit;      
    display: block;       
    border: 1px solid rgba(74, 93, 78, 0.2);
    text-align: center;
    background-color: var(--white);
    transition: var(--transition);
}
.dog-card:hover {
    color: var(--text-dark);
}
.dog-image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-bottom: 1px solid rgba(74, 93, 78, 0.1);
}

.dog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.dog-card:hover .dog-image img {
    transform: scale(1.05);
}

.dog-info {
    padding: 30px 15px;
}

.dog-info h3 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: var(--primary-green);
    font-family: 'Inter', sans-serif;
}

.small-accent {
    width: 30px;
    height: 2px;
    background-color: var(--primary-green);
    margin: 0 auto 12px auto;
    opacity: 0.5;
}

.dog-title {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}


.page-content {
    padding: 60px 20px;
    margin-bottom: 80px; 
}
.dog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px;
    margin-bottom: 40px; 
}


/* --- PROFIL PSA --- */
.dog-profile-card {
    padding: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.profile-header {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
    align-items: start; 
}

.profile-main-img img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.profile-intro h1 {
    font-size: 3rem;
    color: var(--primary-green);
    margin: 10px 0;
}

.profile-description p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}
.profile-gallery h3, .profile-videos h3 {
    text-align: center;
    margin-bottom: 25px;
    color: var(--primary-dark);
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 50px;
}

.image-grid img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 8px;
    transition: var(--transition);
}

.image-grid img:hover {
    transform: scale(1.03);
}
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px;
    margin-top: 30px;
}
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius); 
    box-shadow: var(--shadow-soft);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr; 
    }
}


.modal {
    display: none; 
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.9); 
    cursor: zoom-out;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 85vh;
    border-radius: var(--radius); 
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {transform: scale(0.7); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

.close-modal {
    position: absolute;
    top: 20px; right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}



@media (max-width: 768px) {
    .profile-header {
        grid-template-columns: 1fr !important; 
        gap: 20px;
        text-align: center; 
    }


    .profile-main-img {
        width: 100%;
        max-width: 400px; 
        margin: 0 auto; 
    }

    .profile-main-img img {
        width: 100%;
        height: auto;
        display: block;
    }

    .profile-intro h1 {
        font-size: 2.2rem; 
    }

    .profile-intro .accent-line {
        margin: 15px auto; 
    }


    .image-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }
}


/* --- KONTAKT --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background-color: var(--white);
    padding: 50px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(74, 93, 78, 0.1);
}

.contact-info h2 {
    font-size: 2.2rem;
    color: var(--primary-green);
    margin-bottom: 5px;
    font-family: 'Playfair Display', serif; 
}

.contact-info .subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-items-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-icon {
    font-size: 1.8rem;
    background-color: var(--bg-light);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(74, 93, 78, 0.15); 
}

.contact-text strong {
    display: block;
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.contact-text p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

.contact-text a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.contact-text a:hover {
    color: var(--text-dark);
    text-decoration: underline;
}

.contact-map {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    min-height: 400px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }
    
    .contact-map {
        min-height: 350px;
        margin-top: 20px;
    }
}
.gallery-list {
    display: flex;
    flex-direction: column;
    gap: 30px; 
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-card {
    display: flex; 
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 4px solid rgba(74, 93, 78, 0.2); 
    box-shadow: var(--shadow-soft);
    transition: var(--transition); 
}
.gallery-card:hover {
    border-color: rgba(74, 93, 78, 0.7);
    transform: translateY(-8px); 
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.gallery-image {
    flex: 0 0 350px; 
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.gallery-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.gallery-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.gallery-date {
    color: var(--text-light);
}

.gallery-tag {
    color: var(--primary-green);
    background: rgba(74, 93, 78, 0.1);
    padding: 2px 10px;
    border-radius: 4px;
}

.gallery-content h2 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.accent-line-small {
    width: 40px;
    height: 3px;
    background: var(--primary-green);
    margin-bottom: 20px;
}

.gallery-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 25px;
}


.gallery-link {
    text-decoration: none;
    color: var(--primary-green);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    width: fit-content; 
}
.gallery-link:hover {
    color: var(--text-dark); 
    transform: translateX(10px); 
}

@media (max-width: 850px) {
    .gallery-card {
        flex-direction: column; 
    }
    .gallery-image {
        flex: none;
        width: 100%;
        height: 250px;
    }
}


.main-header {
    position: relative;
    width: 100%;
    height: 60vh; 
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;

    /* GRAFIKA DO BANERU*/
    background-image: url('../assets/baner.webp'); 
    background-size: cover;    
    background-position: center; 
    background-attachment: fixed; 
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); 
    z-index: 1;
}
.header-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.header-content h1 {
    font-size: 4rem;
    margin: 10px 0;
    font-family: 'Montserrat', sans-serif;
}

.badge {
    background: var(--primary-green);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
}