/* * style.css - News Corporation 
 * Integrated Modern Cyber Design with Multi-Language Support
 */

/* --- Variables --- */
:root {
    --bg-dark: #050505;
    --bg-card: rgba(255, 255, 255, 0.04);
    --accent: #00f2ff;
    --text-main: #ffffff;
    --text-sub: #b0b0b0;
    --font-eng: 'Orbitron', sans-serif;
    --font-jp: 'Noto Sans JP', sans-serif;
}

/* --- Base --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body { 
    background-color: var(--bg-dark); 
    color: var(--text-main); 
    font-family: var(--font-jp); 
    line-height: 1.6; 
    overflow-x: hidden; 
}

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

/* --- Header & Nav --- */
header { 
    position: fixed; 
    top: 0; 
    width: 100%; 
    z-index: 1000; 
    background: rgba(0, 0, 0, 0.85); 
    backdrop-filter: blur(15px); 
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
}

nav { 
    height: 80px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

/* Logo & Tagline Wrapper */
.logo-box { display: flex; align-items: center; }

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s;
}

.logo-link:hover { opacity: 0.7; }

.header-logo { max-height: 40px; width: auto; vertical-align: middle; }

/* Logo Tagline (Non-clickable) */
.logo-tagline {
    color: var(--text-main);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    padding-left: 15px;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    line-height: 1.2;
    white-space: nowrap;
    cursor: default;
    pointer-events: none;
}

.nav-right { display: flex; align-items: center; }

.nav-links { display: flex; list-style: none; margin-right: 30px; }
.nav-links li { margin-left: 30px; }
.nav-links a { 
    text-decoration: none; 
    color: var(--text-main); 
    font-family: var(--font-eng); 
    font-size: 0.75rem; 
    letter-spacing: 1px; 
    transition: 0.3s; 
}
.nav-links a:hover { color: var(--accent); text-shadow: 0 0 8px var(--accent); }

/* Language Switcher */
.lang-switcher { 
    display: flex; 
    gap: 4px; 
    background: rgba(255, 255, 255, 0.08); 
    padding: 4px; 
    border-radius: 4px; 
    border: 1px solid rgba(255,255,255,0.1); 
}
.lang-btn { 
    background: none; 
    border: none; 
    color: #777; 
    font-family: var(--font-eng); 
    font-size: 0.65rem; 
    padding: 4px 10px; 
    cursor: pointer; 
    border-radius: 2px; 
    transition: 0.3s; 
    min-width: 35px; 
}
.lang-btn.active { 
    background: var(--accent); 
    color: #000; 
    font-weight: bold; 
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.3); 
}

/* --- Hero --- */
.hero { 
    height: 100vh; 
    position: relative; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    overflow: hidden; 
    background: #000; 
}
#hero-bg-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero-bg-img { width: 100%; height: 100%; background-size: cover; background-position: center; position: absolute; top: 0; left: 0; }
.hero-overlay { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: radial-gradient(circle, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.8) 100%); 
    z-index: 2; 
}
.hero-content { position: relative; z-index: 3; width: 90%; }

.fade-in { animation: fadeIn 1.5s ease-in-out forwards; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.glitch-text { 
    font-family: var(--font-eng); 
    font-size: clamp(2.8rem, 8vw, 6rem); 
    line-height: 1.1; 
    margin-bottom: 20px; 
    text-shadow: 2px 0 var(--accent), -2px 0 #ff00ff; 
    letter-spacing: -2px; 
}
.hero p { 
    color: var(--text-sub); 
    letter-spacing: 2px; 
    font-weight: 300; 
    font-size: 0.95rem; 
    max-width: 800px;
    margin: 0 auto;
}

.scroll-indicator { 
    position: absolute; 
    bottom: -80px; 
    left: 50%; 
    transform: translateX(-50%); 
    z-index: 3; 
    font-family: var(--font-eng); 
    font-size: 0.6rem; 
    color: var(--accent); 
    opacity: 0.7; 
}
.mouse { 
    width: 18px; 
    height: 30px; 
    border: 1.5px solid var(--accent); 
    border-radius: 20px; 
    margin: 8px auto; 
    position: relative; 
}
.mouse::before { 
    content: ''; 
    width: 2px; 
    height: 2px; 
    background: var(--accent); 
    position: absolute; 
    top: 6px; 
    left: 50%; 
    transform: translateX(-50%); 
    border-radius: 50%; 
    animation: scrollMove 2s infinite; 
}
@keyframes scrollMove { 0% { opacity: 1; top: 6px; } 100% { opacity: 0; top: 18px; } }

/* --- Section Titles --- */
section { padding: 120px 0; }
.section-title { 
    font-family: var(--font-eng); 
    font-size: 2.2rem; 
    margin-bottom: 60px; 
    position: relative; 
    letter-spacing: 2px; 
}
.section-title::after { 
    content: ''; 
    position: absolute; 
    bottom: -12px; 
    left: 0; 
    width: 40px; 
    height: 2px; 
    background: var(--accent); 
    box-shadow: 0 0 10px var(--accent); 
}

/* CONTACT section centered title */
.contact { text-align: center; }
.contact .section-title::after { left: 50%; transform: translateX(-50%); }

/* --- Works Cards --- */
.works-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); 
    gap: 30px; 
}
.work-card { 
    background: var(--bg-card); 
    border: 1px solid rgba(255, 255, 255, 0.08); 
    border-radius: 12px; 
    overflow: hidden; 
    transition: 0.4s; 
    height: 100%; 
    display: flex; 
    flex-direction: column; 
}
.work-card:hover { 
    transform: translateY(-10px); 
    border-color: var(--accent); 
    box-shadow: 0 10px 30px rgba(0, 242, 255, 0.1); 
}
.work-img-box { height: 200px; background: #111; overflow: hidden; }
.work-img-box img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    opacity: 0.4; 
    transition: 0.7s; 
}
.work-card:hover .work-img-box img { opacity: 0.8; transform: scale(1.05); }
.work-info { padding: 30px; flex-grow: 1; }
.work-info h3 { color: var(--accent); font-family: var(--font-eng); font-size: 1.1rem; margin-bottom: 10px; }
.work-summary { 
    font-size: 0.8rem; 
    font-weight: 700; 
    color: #fff; 
    margin-bottom: 15px; 
    border-left: 2px solid var(--accent); 
    padding-left: 10px; 
    line-height: 1.4; 
}
.work-info ul { list-style: none; font-size: 0.75rem; color: var(--text-sub); }
.work-info li { margin-bottom: 6px; padding-left: 15px; position: relative; }
.work-info li::before { 
    content: '>'; 
    position: absolute; 
    left: 0; 
    color: var(--accent); 
    font-size: 0.6rem; 
    top: 2px; 
}

/* --- About Table --- */
.about-container { 
    background: var(--bg-card); 
    padding: 40px; 
    border-radius: 15px; 
    border: 1px solid rgba(255,255,255,0.05); 
}
.profile-table { width: 100%; border-collapse: collapse; }
.profile-table th, .profile-table td { 
    padding: 20px; 
    border-bottom: 1px solid rgba(255, 255, 255, 0.06); 
    text-align: left; 
    font-size: 0.85rem; 
}
.profile-table th { width: 25%; color: var(--accent); vertical-align: top; font-weight: 500; }
.client-list { color: var(--text-sub); line-height: 2.2; }

/* --- Contact Specific --- */
.contact p[data-i18n="contact_sub"] {
    margin-bottom: 45px;
    line-height: 1.8;
}

.reveal-btn { 
    background: transparent; 
    border: 1.5px solid var(--accent); 
    color: var(--accent); 
    padding: 15px 40px; 
    cursor: pointer; 
    transition: 0.4s; 
    font-family: var(--font-eng); 
    font-size: 0.8rem; 
    border-radius: 4px; 
}
.reveal-btn:hover { 
    background: var(--accent); 
    color: #000; 
    box-shadow: 0 0 20px var(--accent); 
}
.mail-link { 
    color: var(--accent); 
    font-size: 1.4rem; 
    text-decoration: none; 
    border-bottom: 1px solid var(--accent); 
    font-family: var(--font-eng); 
}

/* --- Privacy Policy Content Styles --- */
#privacy-content h3 {
    margin-top: 40px;
    margin-bottom: 15px;
    color: var(--accent);
    font-size: 1.2rem;
    font-family: var(--font-jp);
    border-bottom: 1px solid rgba(0, 242, 255, 0.2);
    padding-bottom: 8px;
    display: inline-block;
}

#privacy-content p {
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.8;
}

#privacy-content ul {
    margin-bottom: 25px;
    padding-left: 0;
    list-style: none;
}

#privacy-content li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--text-sub);
}

#privacy-content li::before {
    content: '■';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.7rem;
    top: 2px;
}

/* --- Footer --- */
footer { padding: 50px 0; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.footer-bottom { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    color: #555; 
    font-size: 0.7rem; 
}
.f-links a { color: #777; text-decoration: none; margin-right: 20px; transition: 0.3s; }
.f-links a:hover { color: var(--accent); }

/* --- Responsive --- */
@media (max-width: 900px) {
    .nav-links { display: none; }
    .profile-table th, .profile-table td { display: block; width: 100%; padding: 12px 0; border: none; }
    .profile-table th { color: var(--accent); padding-top: 20px; }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
}

@media (max-width: 768px) {
    .logo-tagline { display: none; } /* Hide tagline on narrow mobile */
    .contact p[data-i18n="contact_sub"] {
        margin-bottom: 30px;
        font-size: 0.85rem;
        padding: 0 10px;
    }
    #privacy-content h3 {
        font-size: 1.1rem;
        margin-top: 30px;
    }
}