/* assets/css/components.css - Component-specific styles for GoHoldings */

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    min-height: 100vh;
    background:
        radial-gradient(circle at 75% 25%, rgba(76, 175, 80, 0.25) 0%, transparent 55%),
        radial-gradient(circle at 25% 80%, rgba(52, 152, 219, 0.30) 0%, transparent 55%),
        linear-gradient(135deg, #0c1426 0%, #1a237e 35%, #1e5b3a 70%, #0e4d80 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

/* ==========================================
   VIETNAM MAP (hero background — GoHoldings identity)
   ========================================== */
.vietnam-map {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 1;
    opacity: 0.85;
}

.vn-svg {
    height: 92%;
    max-height: 760px;
    width: auto;
    overflow: visible;
    filter: drop-shadow(0 0 30px rgba(76, 175, 80, 0.25));
}

.vn-outline {
    transition: fill 0.6s ease;
}

.hub-core {
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.85));
}

.hub-glow {
    transform-box: fill-box;
    transform-origin: center;
    animation: hubPulse 4s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

.hub-label {
    fill: rgba(255, 255, 255, 0.92);
    font-size: 12px;
    font-weight: 600;
    font-family: 'Inter', -apple-system, sans-serif;
    paint-order: stroke fill;
    stroke: rgba(12, 20, 38, 0.85);
    stroke-width: 3px;
    stroke-linejoin: round;
    letter-spacing: 0.2px;
}

@keyframes hubPulse {
    0%, 100% { opacity: 0.25; transform: scale(1); }
    50% { opacity: 1; transform: scale(2.4); }
}

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

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    text-shadow:
        0 2px 24px rgba(12, 20, 38, 0.65),
        0 0 30px rgba(76, 175, 80, 0.35);
    font-weight: 300;
    letter-spacing: 1px;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 2px 18px rgba(12, 20, 38, 0.7);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
    margin-bottom: 3rem;
}

/* ==========================================
   NETWORK CANVAS & EFFECTS
   ========================================== */
.network-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.bokeh-particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.1) 60%, transparent 100%);
    filter: blur(2px);
    animation: bokehFloat 20s linear infinite;
    pointer-events: none;
    z-index: 1;
}

.bokeh-particle.green {
    background: radial-gradient(circle, rgba(76, 175, 80, 0.7) 0%, rgba(76, 175, 80, 0.2) 60%, transparent 100%);
}

.bokeh-particle.blue {
    background: radial-gradient(circle, rgba(52, 152, 219, 0.8) 0%, rgba(52, 152, 219, 0.2) 60%, transparent 100%);
}

.bokeh-particle.teal {
    background: radial-gradient(circle, rgba(129, 199, 132, 0.6) 0%, rgba(129, 199, 132, 0.1) 60%, transparent 100%);
}

@keyframes bokehFloat {
    0% {
        transform: translateY(100vh) translateX(-50px) scale(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: scale(1);
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(50px) scale(0) rotate(360deg);
        opacity: 0;
    }
}

/* ==========================================
   PHILOSOPHY SECTION
   ========================================== */
.philosophy {
    background: #f8f9fa;
}

.philosophy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.philosophy-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.philosophy-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #3498db;
}

.philosophy-visual {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    border-radius: 20px;
    padding: 2rem;
    color: white;
    text-align: center;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.highlight-box {
    background: linear-gradient(135deg, #667eea20, #764ba220);
    border-left: 4px solid #4caf50;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 10px;
}

.highlight-box h4 {
    color: #3498db;
    margin-bottom: 0.5rem;
}

/* ==========================================
   DIVISION CARDS
   ========================================== */
.division-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.division-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4caf50, #3498db, #2e7d32, #1565c0);
}

.division-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.division-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4caf50, #3498db);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: white;
}

.division-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.division-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.division-highlights {
    list-style: none;
    margin-bottom: 1.5rem;
}

.division-highlights li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    color: #555;
    font-size: 0.9rem;
}

.division-highlights li:last-child {
    border-bottom: none;
}

.division-highlights strong {
    color: #3498db;
}

/* ==========================================
   PROJECT CARDS
   ========================================== */
.projects {
    background: #f8f9fa;
}

.project-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4caf50, #3498db, #2e7d32, #1565c0);
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.project-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.metric {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3498db;
    transition: all 0.3s ease;
    font-variant-numeric: tabular-nums;
}

.metric-label {
    font-size: 0.8rem;
    color: #666;
}

/* ==========================================
   STATS SECTION
   ========================================== */
.stats {
    position: relative;
    color: white;
    text-align: center;
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(76, 175, 80, 0.3) 0%, transparent 25%),
        radial-gradient(circle at 75% 75%, rgba(52, 152, 219, 0.4) 0%, transparent 30%),
        radial-gradient(circle at 45% 45%, rgba(129, 199, 132, 0.2) 0%, transparent 20%),
        radial-gradient(circle at 80% 20%, rgba(52, 152, 219, 0.3) 0%, transparent 15%),
        radial-gradient(circle at 20% 80%, rgba(76, 175, 80, 0.3) 0%, transparent 25%);
    filter: blur(50px);
    pointer-events: none;
}

.stats .container {
    position: relative;
    z-index: 2;
}

.stats .section-title {
    color: white;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    font-variant-numeric: tabular-nums;
    color: white;
}

.stat-item p {
    font-size: 1.2rem;
    opacity: 0.9;
    color: white;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about-content {
    max-width: 1200px;
    margin: 0 auto;
}

.company-overview {
    text-align: center;
    margin-bottom: 3rem;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.company-overview h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.company-overview p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
}

.mission-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-5px);
}

.mission-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.mission-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.mission-points {
    list-style: none;
    margin-top: 1rem;
    text-align: left;
}

.mission-points li {
    padding: 0.3rem 0;
    color: #666;
    font-size: 0.9rem;
}

.mission-points li:before {
    content: "✓";
    color: #4caf50;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact {
    background: #f8f9fa;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form h3 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #2c3e50;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

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

.contact-info h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-item span {
    margin-right: 1rem;
    font-size: 1.2rem;
}

.contact-item a {
    color: #3498db;
    text-decoration: none;
}

.contact-item a:hover {
    color: #4caf50;
}

/* ==========================================
   PAGE-SPECIFIC COMPONENTS
   ========================================== */

/* Page Hero Section */
.page-hero {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.page-hero .lead {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.hero-stats .stat-item {
    text-align: center;
}

.hero-stats .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #4caf50;
    margin-bottom: 0.5rem;
}

.hero-stats .stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Section Padding */
.section-padding {
    padding: 4rem 0;
}

.bg-light {
    background: #f8f9fa;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}