/* 
Theme Name: World Trade Affiliation Custom Design
Description: High-end editorial design for Business Blog
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --color-bg: #0f172a;
    /* Deep Navy */
    --color-text: #f8fafc;
    --color-accent: #bfa15f;
    /* Gold */
    --color-accent-hover: #d4af37;
    --color-surface: #1e293b;
    --color-surface-2: #334155;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --container-width: 1200px;
}

body {
    font-family: var(--font-body);
    color: var(--color-surface-2);
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-bg);
    font-weight: 600;
}



/* Hero Section */
.wta-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=1920&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 10rem 2rem;
    /* Increased padding for more drama */
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.wta-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Dark overlay for text readability */
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.6));
    z-index: 1;
}

.wta-hero-content {
    max-width: 1000px;
    z-index: 2;
    position: relative;
}

.wta-hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
    /* Force white on dark bg */
    letter-spacing: -0.02em;
}

.wta-hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
    font-weight: 300;
    color: #e2e8f0;
}

.wta-btn {
    display: inline-block;
    background: var(--color-accent);
    color: #0f172a;
    padding: 1rem 2.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--color-accent);
}

.wta-btn:hover {
    background: transparent;
    color: var(--color-accent);
}

/* Featured Categories */
.wta-section {
    padding: 5rem 2rem;
}

.wta-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.wta-section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.wta-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: var(--container-width);
    margin: 0 auto;
}

.wta-card {
    background: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}

.wta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.wta-card-img {
    height: 240px;
    background-color: #cbd5e1;
    position: relative;
    overflow: hidden;
}

.wta-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.wta-card:hover .wta-card-img img {
    transform: scale(1.05);
}

.wta-card-content {
    padding: 2rem;
}

.wta-card-cat {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
}

.wta-card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.wta-card-excerpt {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 1.5rem;
}

.wta-link {
    color: var(--color-bg);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid var(--color-accent);
    padding-bottom: 2px;
}

/* Newsletter */
.wta-newsletter {
    background: var(--color-surface);
    color: white;
    text-align: center;
}

.wta-newsletter h2 {
    color: white;
}

.wta-form-inline {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.wta-input {
    padding: 1rem;
    min-width: 300px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.wta-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Page Standard Overrides */
.entry-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 2rem;
}

.ast-archive-description {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

/* --- ABOUT PAGE --- */
.wta-about-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 6rem 0;
}

@media (max-width: 900px) {
    .wta-about-hero {
        grid-template-columns: 1fr;
    }
}

.wta-about-media {
    position: relative;
    height: 500px;
}

.wta-about-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 20px 20px 0 var(--color-surface);
}

.wta-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    padding: 3rem;
    background: var(--color-surface);
    color: white;
    border-radius: 4px;
}

.wta-stat-item {
    text-align: center;
}

.wta-stat-number {
    font-size: 3rem;
    font-family: var(--font-heading);
    color: var(--color-accent);
    line-height: 1;
    display: block;
    margin-bottom: 0.5rem;
}

/* --- CONTACT PAGE --- */
.wta-contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    background: white;
    overflow: hidden;
    border-radius: 8px;
    margin: 4rem auto;
    max-width: 100%;
}

@media (max-width: 800px) {
    .wta-contact-layout {
        grid-template-columns: 1fr;
    }
}

.wta-contact-info {
    background: var(--color-bg);
    padding: 4rem;
    color: white;
}

.wta-contact-info h2 {
    color: white;
}

.wta-contact-info p {
    color: #cbd5e1;
}

.wta-contact-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.wta-contact-list li {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #e2e8f0;
}

.wta-contact-form-wrapper {
    padding: 4rem;
    background: white;
}

/* Form Styles Override */
.wta-contact-form-wrapper input,
.wta-contact-form-wrapper textarea,
.wta-contact-form-wrapper select {
    width: 100%;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    margin-bottom: 1.5rem;
    border-radius: 4px;
    font-family: var(--font-body);
}

.wta-contact-form-wrapper label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-surface-2);
}

/* --- COMPARE PAGE --- */
.wta-compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.wta-compare-table th,
.wta-compare-table td {
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.wta-compare-table th {
    background: var(--color-surface);
    color: white;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    vertical-align: middle;
}

.wta-compare-table th:first-child {
    background: var(--color-bg);
    text-align: left;
    border-top-left-radius: 8px;
}

.wta-compare-table th:last-child {
    border-top-right-radius: 8px;
}

.wta-compare-table tr:last-child td:first-child {
    border-bottom-left-radius: 8px;
}

.wta-compare-table tr:last-child td:last-child {
    border-bottom-right-radius: 8px;
}

.wta-compare-table tr:hover td {
    background: #f8fafc;
}

.wta-check {
    color: #10b981;
    font-weight: bold;
}

.wta-cross {
    color: #ef4444;
    opacity: 0.5;
}

/* --- RESOURCES PAGE --- */
.wta-resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.wta-resource-card {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 2rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-align: left;
    position: relative;
    top: 0;
}

.wta-resource-card:hover {
    top: -5px;
    border-color: var(--color-accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.wta-resource-icon {
    width: 50px;
    height: 50px;
    background: var(--color-surface);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

/* --- PRIVACY POLICY --- */
.wta-legal-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.05rem;
}

.wta-legal-text h2 {
    margin-top: 3rem;
    font-size: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.wta-legal-text ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

/* --- NEW HOMEPAGE SECTIONS --- */

/* Features Section */
.wta-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.wta-feature-item {
    padding: 2rem;
    border-left: 1px solid rgba(15, 23, 42, 0.1);
    transition: all 0.3s ease;
}

.wta-feature-item:hover {
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-left-color: var(--color-accent);
}

.wta-feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-accent);
}

.wta-feature-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    color: var(--color-bg);
}

/* Testimonials */
.wta-testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.wta-testimonial-card {
    background: #f8fafc;
    padding: 3rem;
    position: relative;
    border-radius: 8px;
}

.wta-testimonial-quote {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--color-surface-2);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.wta-testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.wta-author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.wta-author-info h4 {
    margin: 0;
    font-size: 1rem;
}

.wta-author-info span {
    font-size: 0.85rem;
    color: var(--color-accent);
    text-transform: uppercase;
    font-weight: 600;
}

/* CTA Strip */
.wta-cta-strip {
    background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)),
        url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=1200&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 8rem 2rem;
}

.wta-cta-strip h2 {
    color: white;
    font-size: clamp(2.5rem, 4vw, 4rem);
    margin-bottom: 1.5rem;
}

.wta-cta-strip p {
    color: #cbd5e1;
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}