:root {
    --primary-blue: #2E86C1;
    --primary-green: #58D68D;
    --dark-blue: #1B4F72;
    --light-blue: #AED6F1;
    --dark-gray: #2C3E50;
    --light-gray: #ECF0F1;
    --white: #FFFFFF;
    --black: #000000;
    --shadow: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    overflow-x: hidden;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(rgba(46, 134, 193, 0.9), rgba(27, 79, 114, 0.9)), url('https://images.unsplash.com/photo-1601758228041-f3b2795255f1?ixlib=rb-4.0.3');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 100px 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: var(--primary-green);
    color: var(--white);
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(88, 214, 141, 0.3);
}

.cta-button:hover {
    background: #4CAF50;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 214, 141, 0.4);
}

/* Hero IBAN Card */
.hero-iban-card {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    padding: 30px;
    max-width: 600px;
    margin: 40px auto 0;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-bank-name {
    color: var(--dark-blue);
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.hero-bank-name i {
    color: var(--primary-blue);
}

.hero-account-name {
    color: var(--dark-gray);
    font-size: 1rem;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.3s;
    padding: 8px 15px;
    border-radius: 8px;
    display: inline-block;
    user-select: none;
}

.hero-account-name:hover {
    background: var(--light-gray);
    transform: scale(1.02);
}

.hero-account-name:active {
    transform: scale(0.98);
}

.hero-iban-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--light-blue), #D6EAF8);
    padding: 15px 20px;
    border-radius: 12px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.hero-iban-number {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--dark-blue);
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    padding: 5px 10px;
    border-radius: 6px;
    user-select: none;
}

.hero-iban-number:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.02);
}

.hero-iban-number:active {
    transform: scale(0.98);
}

.hero-copy-btn {
    background: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(88, 214, 141, 0.3);
}

.hero-copy-btn:hover {
    background: #4CAF50;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 15px rgba(88, 214, 141, 0.4);
}

.hero-copy-btn.copied {
    background: #27AE60;
}

.hero-iban-note {
    color: var(--primary-green);
    font-size: 1rem;
    margin-top: 15px;
    font-weight: 600;
    margin-bottom: 0;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark-blue);
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-green);
    margin: 20px auto;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 50px;
    color: var(--dark-gray);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Gallery Section */
.gallery-section {
    background: var(--white);
}

.animals-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.animal-card {
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 8px 25px var(--shadow);
    overflow: hidden;
    transition: all 0.3s;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.animal-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.animal-info {
    padding: 25px;
}

.animal-name {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--dark-blue);
    margin-bottom: 12px;
}

.animal-description {
    color: var(--dark-gray);
    line-height: 1.6;
    margin-bottom: 15px;
}

.animal-status {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: 10px;
}

.status-happy {
    background: #E8F8F5;
    color: var(--primary-green);
}

.status-rescued {
    background: #FEF9E7;
    color: #F39C12;
}

.status-adopted {
    background: #EBF5FB;
    color: var(--primary-blue);
}

.no-animals {
    text-align: center;
    padding: 80px 20px;
    grid-column: 1 / -1;
}

/* Instagram Footer */
.instagram-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--light-gray);
}

.instagram-follow-btn {
    display: inline-block;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(225, 48, 108, 0.4);
    transition: all 0.3s;
}

.instagram-follow-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(225, 48, 108, 0.5);
}

.instagram-follow-btn i {
    margin-right: 8px;
}


/* Footer */
.footer {
    background: var(--dark-blue);
    color: var(--white);
    text-align: center;
    padding: 50px 0 20px;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-green);
}

.footer-info p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.social-links {
    margin: 30px 0;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    margin: 0 15px;
    transition: color 0.3s;
}

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

.signature {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-iban-card {
        padding: 20px;
        margin: 30px 10px 0;
    }
    
    .hero-iban-number {
        font-size: 0.95rem;
        word-break: break-all;
    }
    
    .hero-iban-display {
        flex-direction: column;
        gap: 10px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .animals-gallery {
        grid-template-columns: 1fr;
    }
    
    .instagram-follow-btn {
        font-size: 0.9rem;
        padding: 10px 20px;
        margin: 5px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 20px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .iban-card,
    .animal-info {
        padding: 20px;
    }
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-green);
    color: var(--white);
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transform: translateX(400px);
    transition: transform 0.3s;
    z-index: 1001;
}

.toast.show {
    transform: translateX(0);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
