/*
Theme Name: Astra Child - Tam Phat
Theme URI: https://wpastra.com/
Description: Custom child theme for Tam Phat Logistics
Author: Tam Phat Logistics
Template: astra
Version: 1.0.0
*/

/* Import parent theme styles */
@import url('../astra/style.css');

/* Custom styles for Tam Phat Logistics */
:root {
    --primary-brown: #723E16;
    --primary-gold: #C89927;
    --primary-blue: #3079E9;
    --dark-blue: #102E59;
    --text-dark: #242424;
    --text-mid: #283B55;
    --text-light: #667A94;
    --bg-light: #F2F7FF;
    --border-light: #DCE7F5;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Remove default page title on homepage template */
.page-template-template-homepage .entry-header {
    display: none;
}

.page-template-template-homepage .site-content {
    padding: 0;
}

/* Top Bar */
.tp-top-bar {
    background: var(--bg-light);
    padding: 8px 120px;
    font-size: 11px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tp-top-bar-left {
    color: #667A94;
}

.tp-top-bar-right {
    color: #102E59;
}

/* Hero Section */
.tp-hero {
    background: #2F2119;
    position: relative;
    padding: 78px 96px 32px;
    min-height: 654px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tp-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tp-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #241A13 25%, rgba(47, 33, 25, 0.851) 36.25%, rgba(47, 33, 25, 0.102) 80.5%, rgba(47, 33, 25, 0) 100%);
}

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

.tp-hero-title {
    font-size: 52px;
    font-weight: 600;
    color: white;
    line-height: 1.2;
    margin: 0 0 26px;
    letter-spacing: -1.5px;
}

.tp-hero-subtitle {
    font-size: 30px;
    color: #EAE8E7;
    line-height: 1.35;
    margin: 0 0 26px;
    letter-spacing: -0.6px;
}

.tp-hero-desc {
    font-size: 16px;
    color: #EEE4D9;
    line-height: 1.7;
    margin: 0 0 26px;
    max-width: 540px;
}

/* Value Props */
.tp-value-props {
    padding: 32px 96px;
    display: flex;
    gap: 48px;
    background: white;
}

.tp-value-item {
    flex: 1;
    display: flex;
    gap: 12px;
}

.tp-value-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.tp-value-title {
    font-size: 21px;
    color: #35271F;
    margin: 0 0 4px;
    font-weight: normal;
}

.tp-value-desc {
    font-size: 14px;
    color: #796E63;
    line-height: 1.7;
    margin: 0;
}

/* Company Intro */
.tp-company-intro {
    background: var(--bg-light);
    padding: 88px 120px;
    display: flex;
    gap: 100px;
}

.tp-intro-text {
    width: 500px;
}

.tp-section-title {
    font-size: 34px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
    margin: 0 0 32px;
}

/* Services */
.tp-services-list {
    width: 600px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tp-service-item {
    display: flex;
    gap: 18px;
    align-items: center;
}

.tp-service-number {
    background: var(--primary-brown);
    color: white;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    flex-shrink: 0;
}

.tp-service-content {
    background: white;
    padding: 20px;
    border-radius: 12px;
    flex: 1;
    box-shadow: 0 8px 28px rgba(36, 101, 180, 0.12);
    min-height: 116px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.tp-service-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--text-dark);
    line-height: 1.35;
    margin: 0;
}

.tp-service-desc {
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.4;
    margin: 0;
}

/* Buttons */
.tp-btn-primary {
    background: var(--primary-gold);
    color: white;
    padding: 15px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border: none;
    cursor: pointer;
}

.tp-btn-primary:hover {
    background: #B58821;
    color: white;
}

.tp-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.31);
    color: white;
    padding: 15px 22px;
    border-radius: 8px;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

/* Transport Cards */
.tp-transport-section {
    padding: 88px 120px;
}

.tp-transport-cards {
    display: flex;
    gap: 24px;
    margin-top: 40px;
}

.tp-transport-card {
    flex: 1;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(36, 101, 180, 0.06);
}

.tp-transport-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.tp-transport-content {
    padding: 26px;
}

/* Process Section */
.tp-process-section {
    background: var(--bg-light);
    padding: 80px 120px;
}

.tp-process-steps {
    display: flex;
    gap: 32px;
    margin-top: 48px;
}

.tp-process-step {
    flex: 1;
}

.tp-step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    font-weight: bold;
    margin-bottom: 24px;
}

.tp-step-number.active {
    background: var(--primary-brown);
    color: white;
}

.tp-step-number.inactive {
    background: white;
    color: var(--primary-brown);
    border: 1px solid var(--border-light);
}

/* Responsive */
@media (max-width: 1200px) {
    .tp-top-bar,
    .tp-hero,
    .tp-value-props,
    .tp-company-intro,
    .tp-transport-section,
    .tp-process-section {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (max-width: 768px) {
    .tp-hero {
        padding: 40px 20px;
    }

    .tp-hero-title {
        font-size: 36px;
    }

    .tp-company-intro,
    .tp-transport-cards,
    .tp-process-steps {
        flex-direction: column;
    }

    .tp-intro-text,
    .tp-services-list {
        width: 100%;
    }

    .tp-value-props {
        flex-direction: column;
        gap: 24px;
    }
}
