/*
Theme Name: HD Soft
Theme URI: https://example.com
Author: Your Company
Author URI: https://example.com
Description: A bilingual WordPress theme for software development companies with Japanese and Vietnamese support
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hdsoft
Tags: business, custom-menu, responsive-layout, translation-ready, two-columns
*/

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --dark-bg: #1a1a2e;
    --light-bg: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --success: #10b981;
    --border-color: #e2e8f0;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Yu Gothic', 'Meiryo', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
  }
  
  .logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
  }
  
  .logo-img {
    max-height: 50px;
    width: auto;
    display: block;
  }
  
  nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
  }
  
  nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
  }
  
  nav a:hover,
  nav a.active {
    color: var(--primary-color);
  }
  
  .lang-switcher {
    display: flex;
    gap: 10px;
  }
  
  .lang-btn {
    padding: 5px 12px;
    border: 1px solid var(--border-color);
    background: var(--white);
    color: var(--text-dark);
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s;
  }
  
  .lang-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
  }
  
  .hero {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
  }
  
  .hero p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
  }
  
  .btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
  }
  
  .btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
  }
  
  .btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
  }
  
  .btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
  }
  
  .section {
    padding: 80px 0;
  }
  
  .section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--text-dark);
    font-weight: 700;
  }
  
  .section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    margin-top: -30px;
    margin-bottom: 50px;
  }
  
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
  }
  
  .service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
    border: 1px solid var(--border-color);
  }
  
  .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  }
  
  .service-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
  }
  
  .service-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-dark);
  }
  
  .service-card p {
    color: var(--text-light);
    line-height: 1.8;
  }
  
  .achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
  }
  
  .achievement-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
  }
  
  .achievement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  }
  
  .achievement-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    color: var(--white);
  }
  
  .achievement-content {
    padding: 30px;
  }
  
  .achievement-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-dark);
  }
  
  .achievement-card p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.8;
  }
  
  .achievement-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
  }
  
  .product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
  }
  
  .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  }
  
  .product-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    color: var(--white);
  }
  
  .product-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  
  .product-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-dark);
  }
  
  .product-card .product-content p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.8;
    flex: 1;
  }
  
  .product-meta {
    margin-bottom: 20px;
  }
  
  .product-tag {
    background: var(--light-bg);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
  }
  
  .btn-small {
    padding: 10px 20px;
    font-size: 14px;
    align-self: flex-start;
    margin-top: auto;
  }
  
  .product-coming-soon {
    text-align: center;
    padding: 80px 40px;
    background: var(--light-bg);
    border-radius: 15px;
    max-width: 700px;
    margin: 0 auto;
  }
  
  .product-coming-soon-icon {
    font-size: 80px;
    margin-bottom: 25px;
  }
  
  .product-coming-soon h2 {
    font-size: 32px;
    margin-bottom: 25px;
    color: var(--text-dark);
  }
  
  .product-dev-desc {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
  }
  
  .product-dev-aim {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
  }
  
  .tag {
    background: var(--light-bg);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
  }
  
  .about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
  }
  
  .about-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--text-dark);
  }
  
  .about-text p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
  }
  
  .stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
  }
  
  .stat-item {
    text-align: center;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 10px;
  }
  
  .stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
  }
  
  .stat-label {
    color: var(--text-light);
    font-size: 14px;
  }
  
  .contact-form {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .form-group {
    margin-bottom: 25px;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
  }
  
  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
  }
  
  .form-group input:focus,
  .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
  }
  
  .form-group textarea {
    min-height: 150px;
    resize: vertical;
  }
  
  .contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
  }
  
  .info-card {
    text-align: center;
    padding: 30px;
    background: var(--light-bg);
    border-radius: 10px;
  }
  
  .info-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
  }
  
  .info-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-dark);
  }
  
  .info-card p {
    color: var(--text-light);
  }
  
  footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 60px 0 20px;
  }
  
  .footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
  }
  
  .footer-section h3 {
    margin-bottom: 20px;
    font-size: 20px;
  }
  
  .footer-section ul {
    list-style: none;
  }
  
  .footer-section ul li {
    margin-bottom: 10px;
  }
  
  .footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
  }
  
  .footer-section a:hover {
    color: var(--white);
  }
  
  .footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
  }
  
  .bg-light {
    background-color: var(--light-bg);
  }
  
  @media (max-width: 768px) {
    nav ul {
      flex-direction: column;
      gap: 15px;
    }
    
    .hero h1 {
      font-size: 32px;
    }
    
    .hero p {
      font-size: 16px;
    }
    
    .section-title {
      font-size: 28px;
    }
    
    .services-grid,
    .achievements-grid,
    .products-grid {
      grid-template-columns: 1fr;
    }
    
    .about-content {
      grid-template-columns: 1fr;
    }
    
    .stats {
      grid-template-columns: 1fr;
    }
  }
  
  .mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-dark);
  }
  
  @media (max-width: 768px) {
    .mobile-menu-toggle {
      display: block;
    }
    
    nav ul {
      display: none;
    }
    
    nav ul.active {
      display: flex;
      position: absolute;
      top: 70px;
      left: 0;
      right: 0;
      background: var(--white);
      padding: 20px;
      box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }
  }
  
  .success-message {
    background: var(--success);
    color: var(--white);
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
  }
  
  .error-message {
    background: #ef4444;
    color: var(--white);
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
  }
  