/* Common styles and extracted inline styles */

/* Logo link style */
.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Button styles */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-align: center;
}

.btn:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

.btn-blue {
    background-color: var(--primary-orange);
}

/* Highlighted donate button */
.btn-donate {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border: 2px solid white;
    font-weight: 700;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.btn-donate:hover, .btn-donate:focus {
    transform: scale(1.15);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    animation: none;
}

.btn-donate::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(30deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(30deg);
    }
    100% {
        transform: translateX(100%) rotate(30deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1.1);
    }
    50% {
        transform: scale(1.13);
    }
    100% {
        transform: scale(1.1);
    }
}

.btn-margin-top {
    margin-top: 15px;
}

/* Fix for social media icons - replace text with proper icons using Font Awesome Unicode */
.social-icon.facebook::before {
    content: "\f39e"; /* Facebook icon */
    font-family: "Font Awesome 5 Brands";
}

.social-icon.twitter::before {
    content: "\f099"; /* Twitter icon */
    font-family: "Font Awesome 5 Brands";
}

.social-icon.instagram::before {
    content: "\f16d"; /* Instagram icon */
    font-family: "Font Awesome 5 Brands";
}

/* Accessibility improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Fix for placeholder images */
.hero-background {
    background-image: url('../img/2.jpg');
}

/* QR code placeholder */
.qr-code-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #666;
    text-align: center;
}
