/* RESET I PODSTAWOWE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #4a4a4a;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* TŁA I KOLORY */
:root {
    --beige: #f8f5f0;
    --warm-gray: #6b705c;
    --soft-brown: #8b7355;
    --light-beige: #fdf9f3;
    --shadow: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-hover: 0 20px 40px rgba(0,0,0,0.15);
}

/* HERO SECTION */
.hero {
    height: 100vh;
    background-image: 
        linear-gradient(rgba(248,245,240,0.8), rgba(107,112,92,0.6)),
        url('https://images.unsplash.com/photo-1423012463572-0a8e0b6e9454?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-overlay {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: #2d2d2d;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--soft-brown);
    color: white;
}

.btn-primary:hover {
    background: #7a633f;
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    color: var(--warm-gray);
    border-color: var(--warm-gray);
}

.btn-secondary:hover {
    background: var(--warm-gray);
    color: white;
    transform: translateY(-3px);
}

.btn-adopt {
    background: var(--soft-brown);
    color: white;
    width: 100%;
    text-align: center;
}

.btn-adopt:hover {
    background: #7a633f;
    transform: translateY(-2px);
}

.btn-link {
    color: var(--soft-brown);
    font-weight: 500;
    text-decoration: none;
}

.btn-link:hover {
    text-decoration: underline;
}

/* SEKCJE */
section {
    padding: 5rem 0;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: #2d2d2d;
}

.about {
    background: var(--light-beige);
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.about p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* GRID ZWIERZĘT */
.animals-grid,
.help-grid,
.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.animal-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.animal-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.animal-image {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.animal-info {
    padding: 2rem;
}

.animal-info h3 {
    font-size: 1.8rem;
    color: var(--soft-brown);
    margin-bottom: 0.5rem;
}

.animal-breed {
    display: block;
    color: var(--warm-gray);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.animal-info p {
    margin-bottom: 1.5rem;
    color: #5a5a5a;
}

/* JAK POMÓC */
.help {
    background: var(--beige);
}

.help-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.help-card:hover {
    transform: translateY(-5px);
}

.help-icon {
    font-size: 3rem;
    color: var(--soft-brown);
    margin-bottom: 1rem;
}

.help-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--soft-brown);
}

/* HISTORIE */
.stories {
    background: var(--light-beige);
}

.story-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(30px);
}

.story-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.story-content {
    padding: 2rem;
}

.story-content p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--soft-brown);
}

.story-author {
    font-weight: 500;
    color: var(--warm-gray);
}

/* KONTAKT */
.contact {
    background: var(--soft-brown);
    color: white;
}

.contact h2 {
    color: white;
}

.contact-text {
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.95;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.5rem;
    margin-top: 0.5rem;
    color: #d4b88a;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    color: white;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-links a {
    font-size: 1.8rem;
    color: white;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #d4b88a;
}

/* FOOTER */
footer {
    background: #2d2d2d;
    color: #ccc;
    text-align: center;
    padding: 2rem 0;
}

footer p {
    margin-bottom: 0.5rem;
}

footer p:last-child {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* RESPONSYWNOŚĆ */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        min-width: 250px;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .animals-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-overlay {
        padding: 2rem 1.5rem;
    }
}

/* ANIMACJE FADE-IN */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}