/**
 * Custom CSS for Van Gone Today Theme
 *
 * @package Van_Gone_Today
 * @version 1.0.0
 *
 * Copyright (c) 2025 Georgios Emmanouilidis
 * Company: KappaDigital (kappadigital.co.uk)
 * All rights reserved.
 */

/* ==========================================================================
   Additional Component Styles
   ========================================================================== */

/* Smooth page transitions */
.page-transition {
    animation: fadeIn 0.3s ease-in-out;
}

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

/* Custom focus styles for accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #FF6B4A;
    outline-offset: 2px;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #FF6B4A;
    color: white;
    padding: 8px 16px;
    z-index: 100;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* ==========================================================================
   Pagination Styles
   ========================================================================== */

.nav-links {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.nav-links a,
.nav-links span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 1rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-links a {
    background: #f3f4f6;
    color: #4b5563;
}

.nav-links a:hover {
    background: #FF6B4A;
    color: white;
}

.nav-links .current {
    background: #FF6B4A;
    color: white;
}

.nav-links .dots {
    background: transparent;
}

/* ==========================================================================
   Tag Styles
   ========================================================================== */

.tags-links a,
.tag-cloud-link {
    display: inline-block;
    background: #FFF8F5;
    color: #FF6B4A;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin: 0.25rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.tags-links a:hover,
.tag-cloud-link:hover {
    background: #FF6B4A;
    color: white;
}

/* ==========================================================================
   Category Styles
   ========================================================================== */

.cat-links a {
    color: #FF6B4A;
    text-decoration: none;
}

.cat-links a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Comment Styles
   ========================================================================== */

.comments-area {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid #e5e7eb;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 1rem;
}

.comment-author {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.comment-author img {
    border-radius: 9999px;
    margin-right: 1rem;
}

.comment-respond {
    margin-top: 2rem;
}

.comment-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
}

.comment-form input[type="submit"] {
    background: #FF6B4A;
    color: white;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.comment-form input[type="submit"]:hover {
    background: #ff5535;
}

/* ==========================================================================
   Contact Form 7 Overrides
   ========================================================================== */

.wpcf7-response-output {
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 0.75rem;
}

.wpcf7-mail-sent-ok {
    background: #d1fae5;
    border-color: #10b981;
    color: #065f46;
}

.wpcf7-validation-errors,
.wpcf7-acceptance-missing {
    background: #fee2e2;
    border-color: #ef4444;
    color: #991b1b;
}

.wpcf7-not-valid-tip {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* ==========================================================================
   Widget Styles
   ========================================================================== */

.widget {
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #FF6B4A;
}

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

.widget ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li a {
    color: #4b5563;
    text-decoration: none;
    transition: color 0.3s ease;
}

.widget ul li a:hover {
    color: #FF6B4A;
}

/* ==========================================================================
   Prose Content Styles (for blog posts)
   ========================================================================== */

.prose {
    color: #4b5563;
    line-height: 1.75;
}

.prose h2 {
    font-size: 1.875rem;
    font-weight: 800;
    color: #2c2c2c;
    margin-top: 2em;
    margin-bottom: 0.75em;
}

.prose h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.prose h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.prose p {
    margin-bottom: 1.5em;
}

.prose a {
    color: #FF6B4A;
    text-decoration: underline;
}

.prose a:hover {
    color: #ff5535;
}

.prose ul,
.prose ol {
    margin-bottom: 1.5em;
    padding-left: 1.5em;
}

.prose li {
    margin-bottom: 0.5em;
}

.prose blockquote {
    border-left: 4px solid #FF6B4A;
    padding-left: 1.5rem;
    margin: 1.5em 0;
    font-style: italic;
    color: #6b7280;
}

.prose img {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
    margin: 1.5em 0;
}

.prose pre {
    background: #1a2332;
    color: #e5e7eb;
    padding: 1rem;
    border-radius: 0.75rem;
    overflow-x: auto;
    margin: 1.5em 0;
}

.prose code {
    background: #f3f4f6;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-size: 0.875em;
}

.prose pre code {
    background: transparent;
    padding: 0;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
}

.prose th,
.prose td {
    border: 1px solid #e5e7eb;
    padding: 0.75rem;
    text-align: left;
}

.prose th {
    background: #f9fafb;
    font-weight: 600;
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    nav,
    .mobile-menu,
    #mobile-overlay,
    footer,
    .cta-section {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    a {
        text-decoration: underline;
    }

    a[href^="http"]:after {
        content: " (" attr(href) ")";
    }
}
