/* Shared Page Styles - Contact & About Pages */
/* Matches the travel guides design system (blue #2563eb, card-based, clean) */

.tg-contact-page,
.tg-about-page {
    font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1e293b;
    line-height: 1.6;
}

/* Page Hero (smaller than homepage hero) */
.tg-page-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
    padding: 80px 20px 60px;
    text-align: center;
}

.tg-page-hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.tg-page-hero-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #93c5fd;
    margin-bottom: 12px;
    background: rgba(37, 99, 235, 0.2);
    padding: 6px 16px;
    border-radius: 20px;
}

.tg-page-hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px;
    line-height: 1.2;
}

.tg-page-hero-desc {
    font-size: 1.05rem;
    color: #dbeafe;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Shared Section Styles */
.tg-section {
    padding: 80px 20px;
}

.tg-section-white {
    background-color: #ffffff;
}

.tg-section-light {
    background-color: #f8fafc;
}

.tg-section-cta {
    background-color: #0f172a;
    text-align: center;
    padding: 80px 20px;
}

.tg-container {
    max-width: 1200px;
    margin: 0 auto;
}

.tg-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.tg-section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #2563eb;
    margin-bottom: 8px;
}

.tg-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin: 8px 0 12px;
}

.tg-section-desc {
    font-size: 1.05rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.tg-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.tg-btn-primary {
    background-color: #2563eb;
    color: #ffffff;
}

.tg-btn-primary:hover {
    background-color: #1d4ed8;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.tg-btn-outline {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.tg-btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
    color: #ffffff;
}

.tg-btn-full {
    width: 100%;
    justify-content: center;
}

/* CTA Section */
.tg-cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 12px;
}

.tg-cta-desc {
    font-size: 1.1rem;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto 32px;
}

.tg-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===== CONTACT PAGE STYLES ===== */

.tg-contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
}

.tg-contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tg-contact-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px;
    border: 1px solid #e2e8f0;
    transition: box-shadow 0.3s ease;
}

.tg-contact-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.tg-contact-card-icon {
    width: 48px;
    height: 48px;
    background: #dbeafe;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #2563eb;
}

.tg-contact-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px;
}

.tg-contact-card-text {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

.tg-contact-card-text a {
    color: #2563eb;
    text-decoration: none;
}

.tg-contact-card-text a:hover {
    text-decoration: underline;
}

/* Contact Form */
.tg-contact-form-wrapper {
    width: 100%;
}

.tg-contact-form-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.tg-contact-form-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px;
}

.tg-contact-form-desc {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0 0 28px;
}

.tg-contact-success {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #dcfce7;
    color: #166534;
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    font-weight: 500;
}

.tg-contact-success svg {
    color: #16a34a;
    flex-shrink: 0;
}

.tg-form-group {
    margin-bottom: 20px;
}

.tg-form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.tg-form-input,
.tg-form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    color: #1e293b;
    background: #f8fafc;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.tg-form-input:focus,
.tg-form-textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background: #ffffff;
}

.tg-form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== ABOUT PAGE STYLES ===== */

.tg-about-content {
    max-width: 800px;
    margin: 0 auto;
}

.tg-about-text {
    text-align: center;
}

.tg-about-text p {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.8;
    margin: 0 0 20px;
}

.tg-about-text p:last-child {
    margin-bottom: 0;
}

.tg-about-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.tg-about-feature-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: box-shadow 0.3s ease;
}

.tg-about-feature-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.tg-about-feature-icon {
    width: 56px;
    height: 56px;
    background: #dbeafe;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #2563eb;
}

.tg-about-feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px;
}

.tg-about-feature-text {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Company Info */
.tg-about-company {
    max-width: 700px;
    margin: 0 auto;
}

.tg-about-company-info {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.tg-about-company-card {
    text-align: center;
    padding: 24px;
}

.tg-about-company-card .tg-contact-card-icon {
    margin: 0 auto 12px;
}

.tg-about-company-text {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

.tg-about-company-text a {
    color: #2563eb;
    text-decoration: none;
}

.tg-about-company-text a:hover {
    text-decoration: underline;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
    .tg-page-hero {
        padding: 60px 16px 40px;
    }
    .tg-page-hero-title {
        font-size: 1.7rem;
    }
    .tg-section {
        padding: 60px 16px;
    }
    .tg-section-title {
        font-size: 1.6rem;
    }
    .tg-contact-grid {
        grid-template-columns: 1fr;
    }
    .tg-about-features-grid {
        grid-template-columns: 1fr;
    }
    .tg-contact-form-card {
        padding: 24px;
    }
    .tg-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}
