/* Resources Page Styles */
.resources-hero {
     background: linear-gradient(135deg, var(--gold) 0%, var(--accent-red) 100%);
    color: white;
    padding: 140px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.resources-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="1" stitchTiles="stitch"/><feColorMatrix type="saturate" values="0"/></filter></defs><rect width="100%" height="100%" filter="url(%23noiseFilter)" opacity="0.03"/></svg>');
    pointer-events: none;
}

.resources-hero .page-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

.resources-hero .hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.resources-content {
    padding: 100px 0;
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
}

.resource-category {
    margin-bottom: 100px;
    position: relative;
}

.category-title {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--black);
    position: relative;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--accent-red));
    border-radius: 2px;
}

.category-title i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold), var(--accent-red));
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.resource-card {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 
        0 15px 35px rgba(0,0,0,0.08),
        0 3px 10px rgba(0,0,0,0.05);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.resource-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--accent-red));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 25px 50px rgba(0,0,0,0.15),
        0 5px 15px rgba(0,0,0,0.1);
}

.resource-card:hover::before {
    transform: scaleX(1);
}

.resource-card.featured {
    border: 2px solid var(--gold);
    background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
    position: relative;
}

.resource-card.featured::after {
    content: 'Featured';
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--gold), var(--accent-red));
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.resource-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold), var(--accent-red));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: white;
    font-size: 32px;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.resource-card:hover .resource-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.4);
}

.resource-content {
    flex: 1;
}

.resource-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--black);
    line-height: 1.3;
}

.resource-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 15px;
}

.resource-meta {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    font-size: 13px;
    color: var(--black);
    flex-wrap: wrap;
}

.resource-type,
.resource-pages {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #495057;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 500;
    border: 1px solid rgba(0,0,0,0.05);
}

.download-btn {
    background: linear-gradient(135deg, var(--gold) 0%, var(--accent-red) 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.4);
}

.download-btn:hover::before {
    left: 100%;
}

.download-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.download-btn i {
    transition: transform 0.3s ease;
}

.download-btn:hover i {
    transform: translateY(-2px);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.tool-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 
        0 10px 25px rgba(0,0,0,0.08),
        0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tool-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--accent-red));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.12),
        0 4px 12px rgba(0,0,0,0.08);
}

.tool-card:hover::before {
    transform: scaleX(1);
}

.tool-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--black);
}

.tool-info p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 12px;
}

.tool-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stars {
    color: #ffc107;
    font-size: 16px;
    text-shadow: 0 1px 2px rgba(255, 193, 7, 0.3);
}

.rating-text {
    font-size: 12px;
    color: #495057;
    font-weight: 600;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 4px 10px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tool-link {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gold), var(--accent-red));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
}

.tool-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.tool-link:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}

.tool-link:hover::before {
    left: 100%;
}

/* Directory Styles */
.directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.business-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 
        0 10px 25px rgba(0,0,0,0.08),
        0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.business-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--accent-red));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.business-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.12),
        0 4px 12px rgba(0,0,0,0.08);
}

.business-card:hover::before {
    transform: scaleX(1);
}

.business-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.business-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--black);
    margin: 0;
    line-height: 1.2;
}

.business-category {
    font-size: 11px;
    color: white;
    background: linear-gradient(135deg, var(--gold), var(--accent-red));
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.business-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.business-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.business-link {
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.website-link {
    background: linear-gradient(135deg, var(--gold), var(--accent-red));
    color: white;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.website-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.website-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.4);
}

.website-link:hover::before {
    left: 100%;
}

.social-link {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #495057;
    border: 1px solid rgba(0,0,0,0.1);
}

.social-link:hover {
    background: linear-gradient(135deg, var(--black), #333);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Toast Messages */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--black), #333);
    color: white;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 
        0 10px 25px rgba(0,0,0,0.2),
        0 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
    opacity: 0;
    transform: translateY(100%) scale(0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-weight: 600;
    font-size: 14px;
    max-width: 300px;
    border: 1px solid rgba(255,255,255,0.1);
}

.toast.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.toast.success {
    background: linear-gradient(135deg, #28a745, #20c997);
    border-color: rgba(40, 167, 69, 0.3);
}

.toast.error {
    background: linear-gradient(135deg, var(--accent-red), #e74c3c);
    border-color: rgba(220, 53, 69, 0.3);
}

.toast.info {
    background: linear-gradient(135deg, var(--gold), #f39c12);
    border-color: rgba(212, 175, 55, 0.3);
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

.bounce-in {
    animation: bounceIn 0.8s ease-out;
}

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

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

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Loading States */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Newsletter Signup */
.newsletter-signup {
    background: 
        linear-gradient(135deg, rgba(212, 175, 55, 0.95) 0%, rgba(220, 53, 69, 0.95) 100%),
        radial-gradient(circle at 30% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255,255,255,0.05) 0%, transparent 50%);
    padding: 80px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.newsletter-signup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(255,255,255,0.03) 2px,
            rgba(255,255,255,0.03) 4px
        );
    pointer-events: none;
}

.newsletter-content {
    position: relative;
    z-index: 1;
}

.newsletter-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    letter-spacing: -0.5px;
}

.newsletter-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    max-width: 550px;
    margin: 0 auto;
    gap: 20px;
    background: rgba(255,255,255,0.1);
    padding: 8px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.newsletter-form input {
    flex: 1;
    padding: 18px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    background: white;
    color: #333;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.newsletter-form input::placeholder {
    color: #999;
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
}

.newsletter-form button {
    padding: 18px 32px;
    background: white;
    color: var(--gold);
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.newsletter-form button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
    transition: left 0.5s ease;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.newsletter-form button:hover::before {
    left: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .resources-hero {
        padding: 120px 0 100px;
    }
    
    .resources-hero .page-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .resources-hero .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .resource-category {
        margin-bottom: 40px;
    }
    
    .category-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .resource-card {
        padding: 20px;
    }
    
    .resource-content h3 {
        font-size: 1.1rem;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tool-card {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .tool-info {
        text-align: center;
    }
    
    .directory-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .business-card {
        padding: 20px;
    }
    
    .business-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .business-links {
        justify-content: center;
    }
    
    .newsletter-signup {
        padding: 60px 0;
    }
    
    .newsletter-content h2 {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    
    .newsletter-content p {
        font-size: 1rem;
        margin-bottom: 30px;
        padding: 0 20px;
    }
    
    .newsletter-form {
        flex-direction: column;
        max-width: 90%;
        gap: 15px;
        padding: 15px;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        padding: 16px 20px;
    }
}

@media (max-width: 480px) {
    .resources-hero {
        padding: 100px 0 80px;
    }
    
    .resources-hero .page-title {
        font-size: 2rem;
    }
    
    .category-title {
        font-size: 1.5rem;
    }
    
    .newsletter-content h2 {
        font-size: 1.8rem;
    }
    
    .business-name {
        font-size: 1.1rem;
    }
    
    .tool-info h3 {
        font-size: 1rem;
    }
}