/* Non-critical styles */
.site-header nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo hover effects */
.logo {
    transition: color 0.2s ease;
}

.logo:hover {
    color: var(--primary-dark);
}

.logo-icon {
    transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
    color: var(--primary-dark);
    transform: rotate(-10deg) scale(1.1);
}

/* Navigation hover effects */
.nav-links a {
    transition: all 0.2s ease;
}

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

.site-footer {
    background: var(--background-alt);
    padding: 5rem 1rem 2rem;
    margin-top: 4rem;
    border-top: 1px solid var(--border);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 1rem 0;
    color: var(--text);
}

.footer-section p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li:last-child {
    margin-bottom: 0;
}

.footer-section ul a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.9375rem;
    display: inline-block;
    padding: 0.25rem 0;
}

.footer-section ul a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-light);
    font-size: 0.875rem;
}

.disclaimer {
    color: var(--text-light);
    font-size: 0.875rem;
    max-width: 600px;
    margin: 1rem auto 0;
}

/* Modal Styles */
.ad-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ad-modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 1rem;
    max-width: 90%;
    width: 800px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.95);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    box-sizing: border-box;
}

.modal-content:hover {
    transform: scale(0.98);
    box-shadow: 0 35px 60px -15px rgba(0, 0, 0, 0.3);
}

.ad-modal.show .modal-content {
    transform: scale(1);
}

.close-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    transition: all 0.2s ease;
    z-index: 2;
    padding: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.close-button:hover {
    background: var(--text);
    color: white;
    transform: scale(1.1);
}

.close-button svg {
    width: 100%;
    height: 100%;
}

.modal-image {
    width: 50%;
    background: var(--background-alt);
    box-sizing: border-box;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2rem;
    box-sizing: border-box;
}

.modal-text {
    width: 50%;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    box-sizing: border-box;
}

.modal-text h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    line-height: 1.3;
}

.modal-text p {
    color: var(--text-light);
    font-size: 1.125rem;
    line-height: 1.6;
    margin: 0;
}

.cta-button {
    display: inline-block;
    background: var(--primary);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s ease;
    font-size: 1.125rem;
}

.modal-content:hover .cta-button {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .modal-content {
        flex-direction: column;
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal-image,
    .modal-text {
        width: 100%;
    }

    .modal-image {
        height: 200px;
    }

    .modal-image img {
        padding: 1rem;
    }

    .modal-text {
        padding: 1.5rem;
    }

    .modal-text h2 {
        font-size: 1.5rem;
    }

    .modal-text p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
} 