/*
Theme Name: TGD Connect
Author: TGD Connection Services
Description: Custom theme for TGD Connection Services. Header and footer are managed in Elementor.
Version: 1.1
Text Domain: tgd-connect
*/

/* Base typography using Inter (already loaded via <head> in header.php) */
body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Shared utility styles */

.gradient-text {
    background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-bg {
    background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
}

.hero-gradient {
    background: linear-gradient(to bottom right, #EEF3FF, #E0E9FF, #FFFFFF);
}

.card-hover {
    transition: all 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
}

.section-padding {
    padding: 80px 0;
}
@media (max-width: 768px) {
    .section-padding {
        padding: 50px 0;
    }
}

/* Blog archive cards & badges (from blog archive redesign) */
.blog-card {
    transition: all 0.3s ease;
}
.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}
.category-badge {
    transition: all 0.3s ease;
}
.category-badge:hover {
    transform: scale(1.05);
}

/* Single blog content typography (from blog single redesign) */
.blog-content h2 {
    font-size: 1.875rem;
    font-weight: 800;
    color: #111827;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}
.blog-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #374151;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}
.blog-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #4B5563;
    margin-bottom: 1.5rem;
}
.blog-content ul,
.blog-content ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}
.blog-content li {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #4B5563;
    margin-bottom: 0.75rem;
}
.blog-content a {
    color: #2563EB;
    font-weight: 600;
    text-decoration: underline;
}
.blog-content a:hover {
    color: #1D4ED8;
}
.blog-content blockquote {
    border-left: 4px solid #3B82F6;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #6B7280;
}

/* Template cards, price badges, feature chips, etc. can also be pulled into here
   from templates & services pages as needed.  */

/* Comments (blog posts) */
.tgd-comments .tgd-comment-list,
.tgd-comments .tgd-comment-list ol.children {
    list-style: none;
    margin: 0;
    padding: 0;
}
.tgd-comments .tgd-comment-list ol.children {
    margin-left: 2rem;
}
.tgd-comments .comment-body {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 1rem;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.25rem;
}
.tgd-comments .comment-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    color: #0E1B4D;
}
.tgd-comments .comment-author img {
    border-radius: 9999px;
}
.tgd-comments .comment-author .says {
    display: none;
}
.tgd-comments .comment-metadata {
    font-size: 0.8rem;
    margin: 0.25rem 0 0.75rem;
}
.tgd-comments .comment-metadata a {
    color: #6B7280;
    text-decoration: none;
}
.tgd-comments .comment-content p {
    color: #4B5563;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}
.tgd-comments .reply a,
.tgd-comments .comment-reply-link {
    color: #2563EB;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
}
.tgd-comments .comment-awaiting-moderation {
    color: #1D4ED8;
    font-style: italic;
    font-size: 0.875rem;
}
.tgd-comments .comment-form label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    color: #374151;
    margin-bottom: 0.35rem;
}
.tgd-comments .comment-form input[type="text"],
.tgd-comments .comment-form input[type="email"],
.tgd-comments .comment-form input[type="url"],
.tgd-comments .comment-form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid #E5E7EB;
    border-radius: 0.75rem;
    font-size: 1rem;
    background: #fff;
}
.tgd-comments .comment-form input:focus,
.tgd-comments .comment-form textarea:focus {
    outline: none;
    border-color: #3B82F6;
}
.tgd-comments .comment-form p {
    margin-bottom: 1.1rem;
}
.tgd-comments .comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.tgd-comments .comment-form-cookies-consent label {
    margin: 0;
    font-weight: 400;
}
.tgd-comments .tgd-comment-submit {
    background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
    color: #fff;
    font-weight: 700;
    padding: 0.85rem 2rem;
    border: 0;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.tgd-comments .tgd-comment-submit:hover {
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.35);
    transform: translateY(-2px);
}
