/* ==========================================================================
   Atta Trade - Production Stylesheet
   ========================================================================== */

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Noto Sans JP', 'Inter', sans-serif;
    font-weight: 400;
    color: #1a1a2e;
    background: #ffffff;
    line-height: 1.8;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Sans JP', 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.4;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== VARIABLES ===== */
:root {
    --navy: #2c2c2c;
    --navy-dark: #1a1a1a;
    --red: #e63946;
    --red-hover: #c5303c;
    --text: #1a1a2e;
    --text-light: #555;
    --bg: #ffffff;
    --bg-alt: #f5f5f5;
    --max-w: 1200px;
}

/* ===== UTILITY ===== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ===== HEADER ===== */
header {
    background: var(--navy);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.header-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
    width: 40px; height: 40px; background: var(--red);
    border-radius: 6px; display: flex; align-items: center; justify-content: center;
    font-family: 'Inter', sans-serif; font-weight: 700; font-size: 22px; color: #fff;
}
.logo-text { font-family: 'Inter', sans-serif; font-weight: 700; font-size: 22px; color: #fff; letter-spacing: -0.5px; }
nav ul { display: flex; gap: 32px; align-items: center; }
nav a {
    color: rgba(255,255,255,0.85);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.3px;
    transition: color 0.2s;
}
nav a:hover { color: #fff; }
.lang-switch {
    display: flex; align-items: center; gap: 6px;
    margin-left: 24px; padding-left: 24px;
    border-left: 1px solid rgba(255,255,255,0.25);
}
.lang-switch a {
    font-family: 'Inter', sans-serif;
    font-size: 13px; font-weight: 600;
    color: rgba(255,255,255,0.5);
    padding: 4px 8px; border-radius: 4px;
    transition: all 0.2s;
}
.lang-switch a.active { color: #fff; background: rgba(255,255,255,0.15); }
.lang-switch a:hover { color: #fff; }

/* ===== HAMBURGER (CSS only) ===== */
.menu-toggle { display: none; }
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px; height: 30px;
    cursor: pointer;
}
.hamburger span {
    display: block; width: 100%; height: 2px;
    background: #fff; border-radius: 2px;
    transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #111;
    color: #fff;
    overflow: hidden;
}
.hero canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.hero::after {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, transparent 20%, rgba(12,14,22,0.5) 80%);
    pointer-events: none;
}
.hero-content { position: relative; z-index: 2; max-width: 760px; padding: 80px 24px; }
.hero h1 {
    font-size: 48px; margin-bottom: 16px; letter-spacing: 2px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.hero h1 span { color: var(--red); }
.hero p { font-size: 18px; opacity: 0.9; margin-bottom: 32px; line-height: 1.8; text-shadow: 0 1px 10px rgba(0,0,0,0.5); }
.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 6px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.25s;
    cursor: pointer;
    border: none;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-hover); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(230,57,70,0.35); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.7); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* ===== SERVICES ===== */
.services { padding: 100px 0; background: var(--bg-alt); }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 34px; color: var(--navy); margin-bottom: 12px; }
.section-header p { font-size: 16px; color: var(--text-light); max-width: 600px; margin: 0 auto; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.service-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(0,0,0,0.1); }
.service-card-img {
    width: 100%; height: 220px;
    object-fit: cover;
}
.service-card-body { padding: 28px; }
.service-card-body h3 { font-size: 21px; color: var(--navy); margin-bottom: 10px; }
.service-card-body p { font-size: 15px; color: var(--text-light); line-height: 1.8; }

/* ===== COMPANY INFO ===== */
.snapshot { padding: 80px 0; background: var(--bg); }
.company-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    max-width: 800px;
    margin: 0 auto;
    border-top: 1px solid #e0e0e0;
}
.company-info-item {
    display: flex;
    padding: 20px 24px;
    border-bottom: 1px solid #e0e0e0;
}
.company-info-label {
    font-weight: 700;
    font-size: 14px;
    color: var(--navy);
    min-width: 100px;
    flex-shrink: 0;
}
.company-info-value {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}
.company-info-value a { color: var(--red); }
.company-info-value a:hover { text-decoration: underline; }

/* ===== CTA ===== */
.cta-section {
    padding: 80px 0;
    background: var(--navy);
    text-align: center; color: #fff;
}
.cta-section h2 { font-size: 34px; margin-bottom: 12px; }
.cta-section p { font-size: 17px; opacity: 0.85; margin-bottom: 32px; }

/* ===== FOOTER ===== */
footer {
    background: var(--navy-dark);
    color: rgba(255,255,255,0.7);
    padding: 48px 0 32px;
    font-size: 14px;
}
.footer-inner {
    display: flex; justify-content: space-between; align-items: flex-start;
    flex-wrap: wrap; gap: 32px;
}
.footer-info h4 { color: #fff; font-size: 18px; margin-bottom: 12px; }
.footer-info p { margin-bottom: 6px; line-height: 1.8; }
.footer-info a { color: rgba(255,255,255,0.85); }
.footer-info a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
    margin-top: 36px; padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center; font-size: 13px; color: rgba(255,255,255,0.45);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .services-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .company-info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .hamburger { display: flex; }
    nav {
        position: absolute; top: 72px; left: 0; right: 0;
        background: var(--navy-dark);
        max-height: 0; overflow: hidden;
        transition: max-height 0.35s ease;
    }
    nav ul { flex-direction: column; gap: 0; padding: 8px 0; }
    nav a { display: block; padding: 14px 24px; font-size: 16px; }
    nav a:hover { background: rgba(255,255,255,0.05); }
    .lang-switch {
        margin-left: 0; padding-left: 0; border-left: none;
        padding: 12px 24px; border-top: 1px solid rgba(255,255,255,0.1);
    }
    .menu-toggle:checked ~ nav { max-height: 400px; }
    .menu-toggle:checked ~ .hamburger span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .menu-toggle:checked ~ .hamburger span:nth-child(2) { opacity: 0; }
    .menu-toggle:checked ~ .hamburger span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
    .hero h1 { font-size: 30px; }
    .hero p { font-size: 15px; }
    .hero { min-height: 480px; }
    .section-header h2 { font-size: 26px; }
    .footer-inner { flex-direction: column; }
}
@media (max-width: 480px) {
    .snapshot-grid { grid-template-columns: 1fr; }
    .snapshot-number { font-size: 36px; }
}
